~ubuntu-branches/ubuntu/saucy/sflphone/saucy

« back to all changes in this revision

Viewing changes to sflphone-client-gnome/src/config/accountconfigdialog.c

  • Committer: Bazaar Package Importer
  • Author(s): Francois Marier
  • Date: 2011-04-05 14:14:13 UTC
  • mfrom: (4.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20110405141413-hbwbunfsxpn2rtre
Tags: 0.9.13-1
* New upstream release
  - remove Debian patch (applied upstream)
* Fix watch file
* Remove unnecessary versioned dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
295
295
    /* TODO: add curProxy, and add boxes for Proxy support */
296
296
    gchar *curMailbox = "";
297
297
    gchar *curUseragent = "";
 
298
    gchar *curRouteSet = "";
298
299
 
299
300
    currentAccount = *a;
300
301
 
311
312
        curHostname = g_hash_table_lookup (currentAccount->properties, ACCOUNT_HOSTNAME);
312
313
        curPassword = g_hash_table_lookup (currentAccount->properties, ACCOUNT_PASSWORD);
313
314
        curUsername = g_hash_table_lookup (currentAccount->properties, ACCOUNT_USERNAME);
314
 
        // curRouteSet = g_hash_table_lookup(currentAccount->properties, ACCOUNT_ROUTE);
 
315
        curRouteSet = g_hash_table_lookup(currentAccount->properties, ACCOUNT_ROUTE);
315
316
        curMailbox = g_hash_table_lookup (currentAccount->properties, ACCOUNT_MAILBOX);
316
317
        curMailbox = curMailbox != NULL ? curMailbox : "";
317
318
        curUseragent = g_hash_table_lookup (currentAccount->properties, ACCOUNT_USERAGENT);
426
427
    gtk_table_attach (GTK_TABLE (table), clearTextCheckbox, 1, 2, row, row+1, GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
427
428
 
428
429
    row++;
 
430
    label = gtk_label_new_with_mnemonic (_ ("_Proxy"));
 
431
    gtk_table_attach (GTK_TABLE (table), label, 0, 1, row, row+1, GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
 
432
    gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
 
433
    entryRouteSet = gtk_entry_new ();
 
434
    gtk_label_set_mnemonic_widget (GTK_LABEL (label), entryRouteSet);
 
435
    gtk_entry_set_text (GTK_ENTRY (entryRouteSet), curRouteSet);
 
436
    gtk_table_attach (GTK_TABLE (table), entryRouteSet, 1, 2, row, row+1, GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
 
437
 
 
438
    row++;
429
439
    label = gtk_label_new_with_mnemonic (_ ("_Voicemail number"));
430
440
    gtk_table_attach (GTK_TABLE (table), label, 0, 1, row, row+1, GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
431
441
    gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
1436
1446
                                  g_strdup (ACCOUNT_REGISTRATION_EXPIRE),
1437
1447
                                  g_strdup ( (gchar *) gtk_entry_get_text (GTK_ENTRY (expireSpinBox))));
1438
1448
 
1439
 
            /*
 
1449
 
1440
1450
            // TODO: uncomment this code and implement route
1441
1451
            g_hash_table_replace(currentAccount->properties,
1442
1452
                             g_strdup(ACCOUNT_ROUTE),
1443
1453
                             g_strdup((gchar *)gtk_entry_get_text(GTK_ENTRY(entryRouteSet))));
1444
 
            */
 
1454
 
1445
1455
 
1446
1456
            g_hash_table_replace (currentAccount->properties,
1447
1457
                                  g_strdup (ACCOUNT_USERAGENT),