diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-08-24 03:45:46 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-08-24 03:45:46 +0000 |
commit | 58fc8e63b0429dcd36d10cc0163504403c184737 (patch) | |
tree | 836b7eae19feb48ad54f1c69199d272d2627dcc0 | |
parent | 74be4b771450ab8ed0c2eabe06bb9395a898f514 (diff) | |
download | rpmdrake-58fc8e63b0429dcd36d10cc0163504403c184737.tar rpmdrake-58fc8e63b0429dcd36d10cc0163504403c184737.tar.gz rpmdrake-58fc8e63b0429dcd36d10cc0163504403c184737.tar.bz2 rpmdrake-58fc8e63b0429dcd36d10cc0163504403c184737.tar.xz rpmdrake-58fc8e63b0429dcd36d10cc0163504403c184737.zip |
One can't update media when not root.
-rwxr-xr-x | rpmdrake | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1044,7 +1044,7 @@ Is it ok to continue?", Gtk2::Button->new(but_($MODE eq 'remove' ? N("Remove") : N("Install"))), clicked => sub { $do_action->() }, ), - 0, gtksignal_connect( + 0, my $update_button = gtksignal_connect( Gtk2::Button->new(but_(N("Update media"))), clicked => sub { update_sources_interactive($urpm, transient => $w->{rwindow}) @@ -1065,7 +1065,7 @@ Is it ok to continue?", ), ); $show_selections_button and $show_selections_button->set_active(!$dont_show_selections); - $> and $action_button->set_sensitive(0); + $> and $action_button->set_sensitive(0), $update_button->set_sensitive(0); $find_entry->grab_focus; $w->{window}->set_default_size($typical_width*2.7, 500) if !$::isEmbedded; |