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

« back to all changes in this revision

Viewing changes to sflphone-client-gnome/src/config/hooks-config.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:
138
138
GtkWidget* create_hooks_settings ()
139
139
{
140
140
 
141
 
    GtkWidget *ret, *frame, *table, *label, *widg;
 
141
    GtkWidget *ret, *frame, *table, *label, *widg, *info_bar;
142
142
 
143
143
    // Load the user value
144
144
    hooks_load_parameters (&_urlhook_config);
150
150
    gtk_box_pack_start (GTK_BOX (ret), frame, FALSE, FALSE, 0);
151
151
    gtk_widget_show (frame);
152
152
 
153
 
 
154
 
    label = gtk_label_new (_ ("Custom commands on incoming calls with URL"));
155
 
    gtk_table_attach (GTK_TABLE (table), label, 0, 2, 0, 1, GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
156
 
 
157
 
    label = gtk_label_new (_ ("%s will be replaced with the passed URL."));
158
 
    gtk_table_attach (GTK_TABLE (table), label, 0, 2, 1, 2, GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
 
153
    gchar *message = "<small>Custom commands on incoming calls with URL. %s will be replaced with the passed URL.</small>";
 
154
    gnome_info_bar (message, GTK_MESSAGE_INFO, &info_bar);
 
155
    gtk_table_attach (GTK_TABLE (table), info_bar, 0, 2, 0, 1, GTK_FILL | GTK_EXPAND, GTK_SHRINK, 10, 10);
159
156
 
160
157
    widg = gtk_check_button_new_with_mnemonic (_ ("Trigger on specific _SIP header"));
161
158
    gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (widg), (g_strcasecmp (_urlhook_config->sip_enabled, "1") ==0) ?TRUE:FALSE);