Diff of /trunk/src/main.c

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

revision 32 by harbaum, Tue Jul 28 13:21:22 2009 UTC revision 40 by harbaum, Sun Aug 2 19:05:24 2009 UTC
# Line 587  void cachelist_dialog(appdata_t *appdata Line 587  void cachelist_dialog(appdata_t *appdata
587    g_object_set_data(G_OBJECT(window), "cur_view", appdata->cur_view);    g_object_set_data(G_OBJECT(window), "cur_view", appdata->cur_view);
588    
589    appdata->cur_gpx = gpx;    appdata->cur_gpx = gpx;
590    char *title = g_strdup_printf("GPXView - %s", gpx->name);    char *title = g_strdup_printf("%s - GPXView", gpx->name);
591    gtk_window_set_title(GTK_WINDOW(window), title);    gtk_window_set_title(GTK_WINDOW(window), title);
592    g_free(title);    g_free(title);
593    
# Line 1433  cb_menu_search(GtkWidget *window, gpoint Line 1433  cb_menu_search(GtkWidget *window, gpoint
1433      gtk_widget_destroy(dialog);      gtk_widget_destroy(dialog);
1434  }  }
1435    
1436  void on_window_destroy (GtkWidget *widget, gpointer data);  static void on_window_destroy (GtkWidget *widget, gpointer data);
1437    
1438  #ifndef USE_MAEMO  #ifndef USE_MAEMO
1439  static void  static void
# Line 1923  void cleanup(appdata_t *appdata) { Line 1923  void cleanup(appdata_t *appdata) {
1923    puts("everything is gone");    puts("everything is gone");
1924  }  }
1925    
1926  void on_window_destroy (GtkWidget *widget, gpointer data) {  static void on_window_destroy (GtkWidget *widget, gpointer data) {
1927    appdata_t *appdata = (appdata_t*)data;    appdata_t *appdata = (appdata_t*)data;
1928    
1929    gconf_save_state(appdata);    gconf_save_state(appdata);

Legend:
Removed from v.32  
changed lines
  Added in v.40