/[gluid]/gluid.c
ViewVC logotype

Diff of /gluid.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 10 by ben, Fri Sep 25 22:05:38 2009 UTC revision 20 by ben, Sun Sep 27 14:12:12 2009 UTC
# Line 45  int main(int argc, char** argv) Line 45  int main(int argc, char** argv)
45          app_data->adriver = NULL;          app_data->adriver = NULL;
46          app_data->mdriver = NULL;          app_data->mdriver = NULL;
47          app_data->router = NULL;          app_data->router = NULL;
48            app_data->pref_item = NULL;
49    
50          /* set $HOME/.gluid as config file */          /* set $HOME/.gluid as config file */
51          app_data->config_path = g_build_path ("/", g_get_home_dir(), ".gluid", NULL);          app_data->config_path = g_build_path ("/", g_get_home_dir(), ".gluid", NULL);
# Line 86  int main(int argc, char** argv) Line 87  int main(int argc, char** argv)
87    
88          /* right menu items callbacks */          /* right menu items callbacks */
89          menu_append_item(right_menu, "Start", G_CALLBACK(menu_item_on_startstop), app_data);          menu_append_item(right_menu, "Start", G_CALLBACK(menu_item_on_startstop), app_data);
90          menu_append_image_item(right_menu, GTK_STOCK_PREFERENCES, G_CALLBACK(menu_item_on_pref), app_data);          app_data->pref_item = menu_append_image_item(right_menu, GTK_STOCK_PREFERENCES, G_CALLBACK(menu_item_on_pref), app_data);
91          menu_append_image_item(right_menu, GTK_STOCK_ABOUT, G_CALLBACK(menu_item_on_about), app_data);          menu_append_image_item(right_menu, GTK_STOCK_ABOUT, G_CALLBACK(menu_item_on_about), app_data);
92          menu_append_image_item(right_menu, GTK_STOCK_QUIT, G_CALLBACK(menu_item_on_quit), app_data);          menu_append_image_item(right_menu, GTK_STOCK_QUIT, G_CALLBACK(menu_item_on_quit), app_data);
93    

Legend:
Removed from v.10  
changed lines
  Added in v.20

  ViewVC Help
Powered by ViewVC 1.1.26