X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=xgnokii%2Fxgnokii_contacts.c;fp=xgnokii%2Fxgnokii_contacts.c;h=39ef62bc4f697374fd331da6032ebe07d16be456;hp=d7c5f78f65a66cf07bbdcadb9c97312f7b47fc69;hb=f27649b20525793d0880d0df34205548f71ed7f8;hpb=52566bd0b60e367348e0f7ecaafa6d9d8faebca4 diff --git a/xgnokii/xgnokii_contacts.c b/xgnokii/xgnokii_contacts.c index d7c5f78..39ef62b 100644 --- a/xgnokii/xgnokii_contacts.c +++ b/xgnokii/xgnokii_contacts.c @@ -251,7 +251,7 @@ static void OkEditEntryDialog (GtkWidget *widget, gpointer data) max_phonebook_name_length); entry->entry.Name[max_phonebook_name_length] = '\0'; - if (GetModelFeature(FN_PHONEBOOK)==F_PBK71) + if (GetModelFeature(FN_PHONEBOOK)==F_PBK71INT) { } else @@ -297,7 +297,7 @@ because you save it into SIM memory!")); gtk_widget_show (errorDialog.dialog); } - if (GetModelFeature(FN_PHONEBOOK)==F_PBK71) + if (GetModelFeature(FN_PHONEBOOK)==F_PBK71INT) { } else @@ -331,7 +331,7 @@ because you save it into SIM memory!")); max_phonebook_name_length); ((EditEntryData*) data)->pbEntry->entry.Name[max_phonebook_name_length] = '\0'; - if (GetModelFeature(FN_PHONEBOOK)==F_PBK71) + if (GetModelFeature(FN_PHONEBOOK)==F_PBK71INT) { } else @@ -356,7 +356,7 @@ because you save it into SIM memory!")); gtk_widget_show (errorDialog.dialog); } - if (GetModelFeature(FN_PHONEBOOK)==F_PBK71) + if (GetModelFeature(FN_PHONEBOOK)==F_PBK71INT) { } else @@ -473,7 +473,7 @@ static void OkNewEntryDialog(GtkWidget *widget, gpointer data ) max_phonebook_name_length); entry->entry.Name[max_phonebook_name_length] = '\0'; - if (GetModelFeature(FN_PHONEBOOK)==F_PBK71) + if (GetModelFeature(FN_PHONEBOOK)==F_PBK71INT) { } else @@ -511,7 +511,7 @@ because you save it into SIM memory!")); gtk_widget_show (errorDialog.dialog); } - if (GetModelFeature(FN_PHONEBOOK)==F_PBK71) + if (GetModelFeature(FN_PHONEBOOK)==F_PBK71INT) { } else @@ -537,7 +537,7 @@ because you save it into SIM memory!")); max_phonebook_name_length); ((EditEntryData*) data)->pbEntry->entry.Name[max_phonebook_name_length] = '\0'; - if (GetModelFeature(FN_PHONEBOOK)==F_PBK71) + if (GetModelFeature(FN_PHONEBOOK)==F_PBK71INT) { } else @@ -562,7 +562,7 @@ because you save it into SIM memory!")); gtk_widget_show (errorDialog.dialog); } - if (GetModelFeature(FN_PHONEBOOK)==F_PBK71) + if (GetModelFeature(FN_PHONEBOOK)==F_PBK71INT) { } else @@ -1077,7 +1077,7 @@ static void CreateEditDialog (EditEntryData *editEntryData, gchar *title, gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); gtk_widget_show (label); - if (GetModelFeature(FN_PHONEBOOK)==F_PBK71) + if (GetModelFeature(FN_PHONEBOOK)==F_PBK71INT) { button = gtk_button_new (); editEntryData->number = gtk_label_new (""); @@ -1097,7 +1097,7 @@ static void CreateEditDialog (EditEntryData *editEntryData, gchar *title, gtk_widget_show (editEntryData->number); } -/* if (GetModelFeature(FN_PHONEBOOK)==F_PBK71) { +/* if (GetModelFeature(FN_PHONEBOOK)==F_PBK71INT) { hbox = gtk_hbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (GTK_DIALOG (editEntryData->dialog)->vbox), hbox); @@ -1160,7 +1160,7 @@ static void EditPbEntry(PhonebookEntry *pbEntry, gint row) gtk_entry_set_text (GTK_ENTRY (editEditEntryData.name), pbEntry->entry.Name); - if (GetModelFeature(FN_PHONEBOOK)==F_PBK71) + if (GetModelFeature(FN_PHONEBOOK)==F_PBK71INT) gtk_label_set_text (GTK_LABEL (editEditEntryData.number), pbEntry->entry.Number); else gtk_entry_set_text (GTK_ENTRY (editEditEntryData.number), pbEntry->entry.Number); @@ -1253,7 +1253,7 @@ void NewPbEntry(PhonebookEntry *pbEntry) gtk_entry_set_text (GTK_ENTRY (newEditEntryData.name), ""); - if (GetModelFeature(FN_PHONEBOOK)==F_PBK71) + if (GetModelFeature(FN_PHONEBOOK)==F_PBK71INT) gtk_label_set_text (GTK_LABEL (newEditEntryData.number), ""); else gtk_entry_set_text (GTK_ENTRY (newEditEntryData.number), ""); @@ -1297,7 +1297,7 @@ void DuplicatePbEntry (PhonebookEntry *pbEntry) gtk_entry_set_text (GTK_ENTRY (duplicateEditEntryData.name), pbEntry->entry.Name); - if (GetModelFeature(FN_PHONEBOOK)==F_PBK71) + if (GetModelFeature(FN_PHONEBOOK)==F_PBK71INT) gtk_label_set_text (GTK_LABEL (duplicateEditEntryData.number), pbEntry->entry.Number); else gtk_entry_set_text (GTK_ENTRY (duplicateEditEntryData.number), pbEntry->entry.Number); @@ -2361,7 +2361,7 @@ static void ExportVCARD (FILE *f) fprintf (f, "X_GSM_CALLERGROUP:%d\n", pbEntry->entry.Group); /* Add ext. pbk info if required */ - if (GetModelFeature(FN_PHONEBOOK)==F_PBK71) + if (GetModelFeature(FN_PHONEBOOK)==F_PBK71INT) for (j = 0; j < pbEntry->entry.SubEntriesCount; j++) { if (pbEntry->entry.SubEntries[j].EntryType == GSM_Number) @@ -2420,7 +2420,7 @@ static void ExportNative (FILE *f) strcat (buf, buf2); /* Add ext. pbk info if required */ - if (GetModelFeature(FN_PHONEBOOK)==F_PBK71) + if (GetModelFeature(FN_PHONEBOOK)==F_PBK71INT) { for (j = 0; j < pbEntry->entry.SubEntriesCount; j++) if (pbEntry->entry.SubEntries[j].EntryType==GSM_Number)