diff options
author | Daouda Lo <daouda@mandriva.com> | 2003-07-17 14:44:05 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2003-07-17 14:44:05 +0000 |
commit | 516c00a795a4f7a95eeeeb8b0fcadf5b39709a5b (patch) | |
tree | 4d15148365b57d39c59195abfc589f184d075787 | |
parent | 56f4b10eaf09dee489c7fded2ce420305f7d63fd (diff) | |
download | userdrake-516c00a795a4f7a95eeeeb8b0fcadf5b39709a5b.tar userdrake-516c00a795a4f7a95eeeeb8b0fcadf5b39709a5b.tar.gz userdrake-516c00a795a4f7a95eeeeb8b0fcadf5b39709a5b.tar.bz2 userdrake-516c00a795a4f7a95eeeeb8b0fcadf5b39709a5b.tar.xz userdrake-516c00a795a4f7a95eeeeb8b0fcadf5b39709a5b.zip |
- Stocks icons for all menu entries (pretty nice)
-rwxr-xr-x | userdrake | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -69,22 +69,22 @@ my %options = ( my %buttorcheck; my ($menu, $factory) = create_factory_menu($::isEmbedded ? $::Plug : $us->{wnd}{rwindow}, ([ N("/_File"), undef, undef, undef, '<Branch>' ], - [ N("/_File") . N("/_Refresh"), undef, sub { Refresh($sysfilter, $stringsearch)}, undef, '<Item>' ], + [ N("/_File") . N("/_Refresh"), undef, sub { Refresh($sysfilter, $stringsearch)}, undef, '<StockItem>', 'gtk-refresh' ], [ N("/_File") . N("/_Quit"), N("<control>Q"), \&QuitGlobal, undef, '<StockItem>', 'gtk-quit' ], [ N("/_Actions"), undef, undef, undef, '<Branch>' ], - [ N("/_Actions") . N("/_Add User"), undef, \&AddUser, undef, '<Item>' ], - [ N("/_Actions") . N("/Add _Group"), undef, \&AddGroup, undef, '<Item>' ], - [ join('', @{$options{edit}}), undef, \&Edit, undef, '<Item>' ], - [ join('', @{$options{delete}}), undef, \&Delete, undef, '<Item>' ], + [ N("/_Actions") . N("/_Add User"), undef, \&AddUser, undef, '<StockItem>', 'gtk-add' ], + [ N("/_Actions") . N("/Add _Group"), undef, \&AddGroup, undef, '<StockItem>', 'gtk-add' ], + [ join('', @{$options{edit}}), undef, \&Edit, undef, '<StockItem>', 'gtk-properties' ], + [ join('', @{$options{delete}}), undef, \&Delete, undef, '<StockItem>', 'gtk-delete' ], [ N("/_Options"), undef, undef, undef, '<Branch>' ], [ join('', @{$options{filter}}), undef, sub { $sysfilter = $buttorcheck{filter}->get_active; Refresh($sysfilter, $stringsearch) }, undef, '<CheckItem>' ], [ N("/_Help"), undef, undef, undef, '<Branch>' ], - [ N("/_Help").N("/_Help"), undef, \&HelpSystem, undef, '<Item>' ], - [ N("/_Help").N("/_Report Bug"), undef, sub { system("drakhelp https://qa.mandrakesoft.com &"), undef, '<Item>' } ], - [ N("/_Help").N("/_About..."), undef, \&About, undef, '<StockItem>', 'gtk-help' ] + [ N("/_Help").N("/_Help"), undef, \&HelpSystem, undef, '<StockItem>', 'gtk-help' ], + [ N("/_Help").N("/_Report Bug"), undef, sub { system("drakhelp https://qa.mandrakesoft.com &") }, undef, '<StockItem>', 'gtk-stop' ], + [ N("/_Help").N("/_About..."), undef, \&About, undef, '<StockItem>', 'gtk-preferences' ] ) ); %buttorcheck = map { |