gcmd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gcmd-dev] Problem with the icon set of Gnome Commander (possible bug?)


From: Nick Eolicman
Subject: [gcmd-dev] Problem with the icon set of Gnome Commander (possible bug?)
Date: Tue, 31 Mar 2015 16:27:24 +0000 (UTC)

Hi Folks,
 I'm trying to customize an icon them for Gnome Commander, but I'm having big 
problems 
with two icons: the icon of the delete action in the edit main pop up menu and 
thesend files icon of the toolbar, actually it seems impossible to change them!
 From the source code:
[gnome-cmd-file-popmenu.cc] static GnomeUIInfo other_uiinfo[] =
    {
        GNOMEUIINFO_ITEM_STOCK(N_("Cu_t"), NULL, on_cut, GTK_STOCK_CUT),
        GNOMEUIINFO_ITEM_STOCK(N_("_Copy"), NULL, on_copy, GTK_STOCK_COPY),
        GNOMEUIINFO_ITEM(N_("Copy file names"), NULL, edit_copy_fnames, 
copy_file_names_xpm),
        GNOMEUIINFO_ITEM_STOCK(N_("_Delete"), NULL, on_delete, 
GNOME_STOCK_TRASH),
        GNOMEUIINFO_SEPARATOR,
        GNOMEUIINFO_ITEM_NONE (N_("Rename"), NULL, on_rename),
**************LOOK HERE !!!!******
        GNOMEUIINFO_ITEM_STOCK(N_("Send files"), NULL, file_sendto, 
GNOME_STOCK_MAIL_SND),
**************LOOK HERE !!!!******        

GNOMEUIINFO_ITEM_FILENAME (N_("Open this _folder"), NULL, 
command_open_nautilus, PACKAGE_NAME G_DIR_SEPARATOR_S "nautilus.svg"),
        GNOMEUIINFO_ITEM_FILENAME (N_("Open _terminal here"), NULL, 
command_open_terminal__internal, PACKAGE_NAME G_DIR_SEPARATOR_S "terminal.svg"),
        GNOMEUIINFO_SEPARATOR,
        GNOMEUIINFO_ITEM_STOCK(N_("_Properties..."), NULL, on_properties, 
GTK_STOCK_PROPERTIES),
        GNOMEUIINFO_END
    };
[gnome-cmd-main-win.cc]
static GnomeUIInfo other_uiinfo[] =
    {
        GNOMEUIINFO_ITEM_STOCK(N_("Cu_t"), NULL, on_cut, GTK_STOCK_CUT),
        GNOMEUIINFO_ITEM_STOCK(N_("_Copy"), NULL, on_copy, GTK_STOCK_COPY),
        GNOMEUIINFO_ITEM(N_("Copy file names"), NULL, edit_copy_fnames, 
copy_file_names_xpm),
        GNOMEUIINFO_ITEM_STOCK(N_("_Delete"), NULL, on_delete, 
GNOME_STOCK_TRASH),
        GNOMEUIINFO_SEPARATOR,
        GNOMEUIINFO_ITEM_NONE (N_("Rename"), NULL, on_rename),
**************LOOK HERE !!!!******
        GNOMEUIINFO_ITEM_STOCK(N_("Send files"), NULL, file_sendto, 
GNOME_STOCK_MAIL_SND),
**************LOOK HERE !!!!*******

GNOMEUIINFO_ITEM_FILENAME (N_("Open this _folder"), NULL, 
command_open_nautilus, PACKAGE_NAME G_DIR_SEPARATOR_S "nautilus.svg"),
        GNOMEUIINFO_ITEM_FILENAME (N_("Open _terminal here"), NULL, 
command_open_terminal__internal, PACKAGE_NAME G_DIR_SEPARATOR_S "terminal.svg"),
        GNOMEUIINFO_SEPARATOR,
        GNOMEUIINFO_ITEM_STOCK(N_("_Properties..."), NULL, on_properties, 
GTK_STOCK_PROPERTIES),
        GNOMEUIINFO_END
    };
 it appears these icons should be named:"gnome-stock-trash", (the one of the 
pop up menu);
"gnome-stock-mail-snd", (the one of the toolbar);
infact:
[gnome-stock-icons.h]
#define GNOME_STOCK_TIMER "gnome-stock-timer"
#define GNOME_STOCK_TIMER_STOP "gnome-stock-timer-stop"
#define GNOME_STOCK_TRASH "gnome-stock-trash"
#define GNOME_STOCK_TRASH_FULL "gnome-stock-trash-full"

#define GNOME_STOCK_SCORES "gnome-stock-scores"
#define GNOME_STOCK_ABOUT "gnome-stock-about"
#define GNOME_STOCK_BLANK "gnome-stock-blank"

#define GNOME_STOCK_VOLUME "gnome-stock-volume"
#define GNOME_STOCK_MIDI "gnome-stock-midi"
#define GNOME_STOCK_MIC "gnome-stock-mic"
#define GNOME_STOCK_LINE_IN "gnome-stock-line-in"

#define GNOME_STOCK_MAIL "gnome-stock-mail"
#define GNOME_STOCK_MAIL_RCV "gnome-stock-mail-rcv"
#define GNOME_STOCK_MAIL_SND "gnome-stock-mail-snd"
#define GNOME_STOCK_MAIL_RPL "gnome-stock-mail-rpl"
#define GNOME_STOCK_MAIL_FWD "gnome-stock-mail-fwd"
#define GNOME_STOCK_MAIL_NEW "gnome-stock-mail-new"
#define GNOME_STOCK_ATTACH "gnome-stock-attach"


 Unfortunately I didn't manage in any way to change them regardless the names I 
usedin my theme: is it a bug or I'm missing something?
 More does anyone know where is located the defaul icon set? I've searched in 
thestandard locations, ($HOME/.icons, /usr/share/icons, /usr/pixmaps), but also 
inthis case I had no luck....  

 Please send your kind responses to this mail address, since I haven't 
subscribed yet to the mailing list.



Thank You All In Advance.

Nicholas

 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]