~ubuntu-branches/ubuntu/natty/gnome-utils/natty

« back to all changes in this revision

Viewing changes to gnome-dictionary/src/gdict-source-dialog.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-10-15 16:52:21 UTC
  • mfrom: (1.1.46 upstream)
  • Revision ID: james.westby@ubuntu.com-20101015165221-pkcuwy7ae4ueffjt
Tags: 2.32.0-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
#include <gconf/gconf-client.h>
38
38
 
39
39
#include "gdict-source-dialog.h"
 
40
#include "gdict-common.h"
40
41
 
41
42
#define GDICT_SOURCE_UI         PKGDATADIR "/gnome-dictionary-source.ui"
42
43
 
170
171
  gtk_entry_set_text (GTK_ENTRY (entry), text);
171
172
}
172
173
 
173
 
static gchar *
174
 
get_text_from_combo (GdictSourceDialog *dialog,
175
 
                     const gchar       *combo_name)
176
 
{
177
 
  GtkWidget *combo;
178
 
  gchar *retval;
179
 
  
180
 
  combo = GTK_WIDGET (gtk_builder_get_object (dialog->builder, combo_name));
181
 
  if (!combo)
182
 
    return NULL;
183
 
  
184
 
  retval = gtk_combo_box_get_active_text (GTK_COMBO_BOX (combo));
185
 
  
186
 
  return retval;
187
 
}
188
 
 
189
174
static void
190
175
set_transport_settings (GdictSourceDialog *dialog)
191
176
{