Skip to content

Commit

Permalink
Merge pull request #466 from petercommand/appindicator
Browse files Browse the repository at this point in the history
ensure that the indicator will be created properly
  • Loading branch information
Petercommand committed Jun 9, 2013
2 parents bb5cffc + b956027 commit 081bbde
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tray-appindicator.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ gboolean tray_appindicator_create(gpointer data)
return FALSE;

tray_appindicator = app_indicator_new_with_path ("hime", iconame, APP_INDICATOR_CATEGORY_APPLICATION_STATUS, icondir);
if(tray_appindicator == NULL)
return TRUE;

app_indicator_set_status (tray_appindicator, APP_INDICATOR_STATUS_ACTIVE);
GtkWidget *menu = NULL;
menu = create_tray_menu(mitems);
Expand Down

0 comments on commit 081bbde

Please sign in to comment.