Skip to content

Commit

Permalink
ensure that the indicator will be created properly
Browse files Browse the repository at this point in the history
this patch will fixes hime-ime#256 hime-ime#327 hime-ime#464, and maybe hime-ime#432 (i can't reproduce this issue)
  • Loading branch information
letoh committed Jun 8, 2013
1 parent 42da11d commit 5987575
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 5987575

Please sign in to comment.