~ted/indicator-datetime/lp833337

« back to all changes in this revision

Viewing changes to src/datetime-prefs-locations.c

  • Committer: Ted Gould
  • Date: 2011-09-21 13:49:55 UTC
  • mfrom: (134.1.1 indicator-datetime)
  • Revision ID: ted@gould.cx-20110921134955-9k2zx16sxhzc1mwh
Moving setting the translation domain for builder to earlier

Show diffs side-by-side

added added

removed removed

Lines of Context:
421
421
{
422
422
  GError * error = NULL;
423
423
  GtkBuilder * builder = gtk_builder_new ();
 
424
  gtk_builder_set_translation_domain (builder, GETTEXT_PACKAGE);
424
425
  gtk_builder_add_from_file (builder, DATETIME_DIALOG_UI_FILE, &error);
425
426
  if (error != NULL) {
426
427
    /* We have to abort, we can't continue without the ui file */
429
430
    return NULL;
430
431
  }
431
432
 
432
 
  gtk_builder_set_translation_domain (builder, GETTEXT_PACKAGE);
433
 
 
434
433
  GSettings * conf = g_settings_new (SETTINGS_INTERFACE);
435
434
 
436
435
#define WIG(name) GTK_WIDGET (gtk_builder_get_object (builder, name))