diff options
author | Angelo Naselli <anaselli@linux.it> | 2015-01-01 17:48:16 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2015-01-01 17:48:16 +0100 |
commit | f9d1a7fa077bf2f5fb6e225aca79c2736d877ee6 (patch) | |
tree | b6f0d93c1770463329a7dea64a48d7ed97e6d358 /modules | |
parent | 37798c3edf99f88d9ee55f03d7c3b619561e2d5f (diff) | |
download | colin-keep-f9d1a7fa077bf2f5fb6e225aca79c2736d877ee6.tar colin-keep-f9d1a7fa077bf2f5fb6e225aca79c2736d877ee6.tar.gz colin-keep-f9d1a7fa077bf2f5fb6e225aca79c2736d877ee6.tar.bz2 colin-keep-f9d1a7fa077bf2f5fb6e225aca79c2736d877ee6.tar.xz colin-keep-f9d1a7fa077bf2f5fb6e225aca79c2736d877ee6.zip |
Set Search button as default
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/rpmdragora/rpmdragora | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/rpmdragora/rpmdragora b/modules/rpmdragora/rpmdragora index a0ed1af..996b36a 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); |