aboutsummaryrefslogtreecommitdiffstats
path: root/modules/rpmdragora
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2015-01-01 17:48:16 +0100
committerAngelo Naselli <anaselli@linux.it>2015-01-01 17:48:16 +0100
commitf9d1a7fa077bf2f5fb6e225aca79c2736d877ee6 (patch)
treeb6f0d93c1770463329a7dea64a48d7ed97e6d358 /modules/rpmdragora
parent37798c3edf99f88d9ee55f03d7c3b619561e2d5f (diff)
downloadmanatools-f9d1a7fa077bf2f5fb6e225aca79c2736d877ee6.tar
manatools-f9d1a7fa077bf2f5fb6e225aca79c2736d877ee6.tar.gz
manatools-f9d1a7fa077bf2f5fb6e225aca79c2736d877ee6.tar.bz2
manatools-f9d1a7fa077bf2f5fb6e225aca79c2736d877ee6.tar.xz
manatools-f9d1a7fa077bf2f5fb6e225aca79c2736d877ee6.zip
Set Search button as default
Diffstat (limited to 'modules/rpmdragora')
-rwxr-xr-xmodules/rpmdragora/rpmdragora2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/rpmdragora/rpmdragora b/modules/rpmdragora/rpmdragora
index a0ed1af7..996b36a0 100755
--- a/modules/rpmdragora/rpmdragora
+++ b/modules/rpmdragora/rpmdragora
@@ -675,6 +675,8 @@ sub run_treeview_dialog {
$find_entry = $factory->createInputField($hbox_top, "");
my $find_button = $factory->createIconButton($hbox_top, "/usr/share/mcc/themes/default/logdrake-mdk.png", $loc->N("Search"));
$find_button->setWeight(0,6);
+ $my_win->setDefaultButton($find_button);
+
my $reset_search_button = $factory->createIconButton($hbox_top, "/usr/share/icons/gnome/22x22/actions/gtk-clear.png", $loc->N("Reset"));
$reset_search_button->setWeight(0,7);
$find_entry->setWeight(0,10);