aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2015-01-03 14:07:08 +0100
committerAngelo Naselli <anaselli@linux.it>2015-01-03 14:07:08 +0100
commita7633eaac5afd96a7662cabec330ba25b2b26b43 (patch)
tree44d9a5ce523f7644110d1f5303f0a4166afc5afe /modules
parentc0d31a4073c34cedaf08a1c7777592e9442812ee (diff)
downloadmanatools-a7633eaac5afd96a7662cabec330ba25b2b26b43.tar
manatools-a7633eaac5afd96a7662cabec330ba25b2b26b43.tar.gz
manatools-a7633eaac5afd96a7662cabec330ba25b2b26b43.tar.bz2
manatools-a7633eaac5afd96a7662cabec330ba25b2b26b43.tar.xz
manatools-a7633eaac5afd96a7662cabec330ba25b2b26b43.zip
Fixed icon buttons in rpmdragora
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/rpmdragora/rpmdragora8
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/rpmdragora/rpmdragora b/modules/rpmdragora/rpmdragora
index 996b36a0..e24b3865 100755
--- a/modules/rpmdragora/rpmdragora
+++ b/modules/rpmdragora/rpmdragora
@@ -26,6 +26,7 @@
#
# $Id: rpmdragora 267936 2010-04-26 16:40:21Z jvictor $
+use File::ShareDir ':ALL';
use MDK::Common::Func qw(any if_);
use utf8;
@@ -673,11 +674,14 @@ 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"));
+
+ my $icon_file = File::ShareDir::dist_file(AdminPanel::Shared::distName(), "images/manalog.png");
+ my $find_button = $factory->createIconButton($hbox_top, $icon_file, $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"));
+ $icon_file = File::ShareDir::dist_file(AdminPanel::Shared::distName(), "images/rpmdragora/clear_22x22.png");
+ my $reset_search_button = $factory->createIconButton($hbox_top, $icon_file, $loc->N("Reset"));
$reset_search_button->setWeight(0,7);
$find_entry->setWeight(0,10);