Diff of /trunk/src/main.c

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

revision 30 by harbaum, Fri Jul 24 19:24:42 2009 UTC revision 31 by harbaum, Sat Jul 25 10:29:30 2009 UTC
# Line 1572  static GtkWidget *app_submenu_create(app Line 1572  static GtkWidget *app_submenu_create(app
1572              HILDON_BUTTON_ARRANGEMENT_VERTICAL,              HILDON_BUTTON_ARRANGEMENT_VERTICAL,
1573              _(menu_entries->label), _(menu_entries->desc));              _(menu_entries->label), _(menu_entries->desc));
1574    
1575        g_signal_connect(button, "clicked",      /* try to center both texts */
1576                         G_CALLBACK(on_submenu_entry_clicked), dialog);      hildon_button_set_title_alignment(HILDON_BUTTON(button), 0.5, 0.5);
1577        hildon_button_set_value_alignment(HILDON_BUTTON(button), 0.5, 0.5);
       g_signal_connect(button, "clicked",  
                        menu_entries->activate_cb, appdata);  
1578    
1579        g_signal_connect(button, "clicked",
1580                         G_CALLBACK(on_submenu_entry_clicked), dialog);
1581    
1582        g_signal_connect(button, "clicked",
1583                         menu_entries->activate_cb, appdata);
1584    
1585      gtk_table_attach_defaults(GTK_TABLE(table),  button, x, x+1, y, y+1);      gtk_table_attach_defaults(GTK_TABLE(table),  button, x, x+1, y, y+1);
1586    
1587      x++;      x++;

Legend:
Removed from v.30  
changed lines
  Added in v.31