diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-13 19:46:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-13 19:46:11 +0000 |
commit | 0ba28ba1d525dd277f7bfeb96cade93384a18079 (patch) | |
tree | d99c26dcdc0cecd01048a2f6ecdd09124c87f5a2 /rpmdrake.pm | |
parent | c1cb28cc49b19d5815f2e457bdfece02cd7ddc3e (diff) | |
download | rpmdrake-0ba28ba1d525dd277f7bfeb96cade93384a18079.tar rpmdrake-0ba28ba1d525dd277f7bfeb96cade93384a18079.tar.gz rpmdrake-0ba28ba1d525dd277f7bfeb96cade93384a18079.tar.bz2 rpmdrake-0ba28ba1d525dd277f7bfeb96cade93384a18079.tar.xz rpmdrake-0ba28ba1d525dd277f7bfeb96cade93384a18079.zip |
more embedded fixes
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index f9ca7c9a..507d5c63 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -106,7 +106,7 @@ sub writeconf { sub interactive_msg { my ($title, $contents, %options) = @_; my $d = ugtk2->new($title, grab => 1, if_(exists $options{transient}, transient => $options{transient})); - $d->{rwindow}->set_position($options{transient} ? 'center_on_parent' : 'center_always'); + $d->{rwindow}->set_position($options{transient} ? 'center_on_parent' : 'center_always') if !$::isEmbedded; gtkadd($d->{window}, gtkpack_(Gtk2::VBox->new(0,5), 1, $options{scroll} ? gtkadd(gtkset_shadow_type(Gtk2::Frame->new, 'in'), @@ -329,7 +329,7 @@ the case when the architecture of your processor is not supported by Mandrake Linux Official Updates.")), return ''; my $w = ugtk2->new('rpmdrake', grab => 1); - $w->{rwindow}->set_position($options{transient} ? 'center_on_parent' : 'center_always'); + $w->{rwindow}->set_position($options{transient} ? 'center_on_parent' : 'center_always') if !$::isEmbedded; my $tree_model = Gtk2::TreeStore->new("Glib::String"); my $tree = Gtk2::TreeView->new_with_model($tree_model); $tree->get_selection->set_mode('browse'); |