Diff of /trunk/src/settings.c

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

revision 204 by harbaum, Mon Nov 23 18:32:06 2009 UTC revision 212 by harbaum, Wed Nov 25 13:52:17 2009 UTC
# Line 206  static void on_location_edit(GtkWidget * Line 206  static void on_location_edit(GtkWidget *
206                      label = gtk_label_new(_("Name:")), 0, 1, 0, 1);                      label = gtk_label_new(_("Name:")), 0, 1, 0, 1);
207    gtk_misc_set_alignment(GTK_MISC(label), 1.f, 0.5f);    gtk_misc_set_alignment(GTK_MISC(label), 1.f, 0.5f);
208    gtk_table_attach_defaults(GTK_TABLE(table),    gtk_table_attach_defaults(GTK_TABLE(table),
209                      name = gtk_entry_new(), 1, 2, 0, 1);                      name = entry_new(), 1, 2, 0, 1);
210    
211    pos_t pos;    pos_t pos;
212    if(loc) pos = loc->pos;    if(loc) pos = loc->pos;
# Line 651  void cb_menu_settings(GtkWidget *window, Line 651  void cb_menu_settings(GtkWidget *window,
651    hbox = gtk_hbox_new(FALSE,2);    hbox = gtk_hbox_new(FALSE,2);
652    gtk_box_pack_start(GTK_BOX(hbox), gtk_label_new(_("Username:")),    gtk_box_pack_start(GTK_BOX(hbox), gtk_label_new(_("Username:")),
653                       FALSE, FALSE, 0);                       FALSE, FALSE, 0);
 #ifndef FREMANTLE  
   GtkWidget *username = gtk_entry_new();  
 #else  
   GtkWidget *username = hildon_entry_new(HILDON_SIZE_AUTO);  
 #endif  
654    
655      GtkWidget *username = entry_new();
656    if(appdata->username)    if(appdata->username)
657      gtk_entry_set_text(GTK_ENTRY(username), appdata->username);      gtk_entry_set_text(GTK_ENTRY(username), appdata->username);
658    

Legend:
Removed from v.204  
changed lines
  Added in v.212