diff options
author | Ted Gould <ted@canonical.com> | 2008-12-02 11:49:55 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2008-12-02 11:49:55 -0600 |
commit | a387d91c169cb0add2cee70c66ae2c465bc341eb (patch) | |
tree | 51d0cca15cf84c5db0a5ee09155d223996f8b6b7 /src/applet-main.c | |
parent | 52e485504a859a632dbfad9b20d88e25325f7a57 (diff) | |
download | libayatana-indicator-a387d91c169cb0add2cee70c66ae2c465bc341eb.tar.gz libayatana-indicator-a387d91c169cb0add2cee70c66ae2c465bc341eb.tar.bz2 libayatana-indicator-a387d91c169cb0add2cee70c66ae2c465bc341eb.zip |
Adding in all of the icons into the mockups.
Diffstat (limited to 'src/applet-main.c')
-rw-r--r-- | src/applet-main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/applet-main.c b/src/applet-main.c index 5f5461a..f442d09 100644 --- a/src/applet-main.c +++ b/src/applet-main.c @@ -7,6 +7,8 @@ #include "indicator-power.h" #include "indicator-system.h" +#define ICONS_DIR (DATADIR G_DIR_SEPARATOR_S "indicator-applet" G_DIR_SEPARATOR_S "icons") + static gboolean applet_fill_cb (PanelApplet * applet, const gchar * iid, gpointer data); @@ -37,6 +39,9 @@ menuitem_func indicators[] = { static gboolean applet_fill_cb (PanelApplet * applet, const gchar * iid, gpointer data) { + gtk_icon_theme_append_search_path(gtk_icon_theme_get_default(), + ICONS_DIR); + int i; GtkWidget * menubar = gtk_menu_bar_new(); gtk_widget_set_name (menubar, "indicator-applet-menubar"); |