Re: [Ekiga-devel-list] FreeBSD: ekiga from SVN && missing icons



On 02/05/13 12:42, Matthias Apitz wrote:
El día Thursday, May 02, 2013 a las 10:29:41AM +0200, Matthias Apitz escribió:

I'm missing some icons in the ekiga's main window (while in the
call/video window aren't any missing) see the screen here:

http://www.unixarea.de/ekiga1.jpg

To be precisely: from src/gui/main_window.cpp the pixmaps of

GTK_MENU_TOGGLE_ENTRY("preview", _("_Video Preview"),...
GTK_MENU_RADIO_ENTRY("contacts", _("Con_tacts"), _("View the contacts list"),...
GTK_MENU_RADIO_ENTRY("dialpad", _("_Dialpad"), _("View the dialpad"),

are not shown, while

GTK_MENU_RADIO_ENTRY("callhistory", _("_Call History"), _("View the call history"),...

is shown; I guess that "callhistory" is somehow a reference to the
pixmap file name, but can't even locate such a file containing this as
part of its name on my disk; how this is working then?

Your code above is for the menu, which has no icon for the above code. The icon is the 4th parameter, which is NULL, see lib/gui/gmmenuaddon.h, struct _MenuEntry.

For call history icon in *toolbar* you have:
  /* The history button */
image = gtk_image_new_from_icon_name ("document-open-recent", GTK_ICON_SIZE_MENU);
in the same file.

--
Eugen


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