diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/find-dialog.glade | 1 | ||||
-rw-r--r-- | src/profile-new-dialog.glade | 1 | ||||
-rw-r--r-- | src/profile-preferences.glade | 1 | ||||
-rw-r--r-- | src/terminal-app.c | 3 | ||||
-rw-r--r-- | src/terminal-util.c | 4 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/find-dialog.glade b/src/find-dialog.glade index 71f8b78..0ee75b0 100644 --- a/src/find-dialog.glade +++ b/src/find-dialog.glade @@ -2,7 +2,6 @@ <!DOCTYPE glade-interface SYSTEM "http://glade.mate.org/glade-2.0.dtd"> <glade-interface> -<requires lib="mate"/> <widget class="GtkDialog" id="find-dialog"> <property name="border_width">5</property> diff --git a/src/profile-new-dialog.glade b/src/profile-new-dialog.glade index 1a22599..04b4fc7 100644 --- a/src/profile-new-dialog.glade +++ b/src/profile-new-dialog.glade @@ -2,7 +2,6 @@ <!DOCTYPE glade-interface SYSTEM "http://glade.mate.org/glade-2.0.dtd"> <glade-interface> -<requires lib="mate"/> <widget class="GtkDialog" id="new-profile-dialog"> <property name="border_width">5</property> diff --git a/src/profile-preferences.glade b/src/profile-preferences.glade index 09be1bc..7003a26 100644 --- a/src/profile-preferences.glade +++ b/src/profile-preferences.glade @@ -2,7 +2,6 @@ <!DOCTYPE glade-interface SYSTEM "http://glade.mate.org/glade-2.0.dtd"> <glade-interface> -<requires lib="mate"/> <widget class="GtkDialog" id="profile-editor-dialog"> <property name="border_width">5</property> diff --git a/src/terminal-app.c b/src/terminal-app.c index baac703..91b3d02 100644 --- a/src/terminal-app.c +++ b/src/terminal-app.c @@ -950,6 +950,9 @@ terminal_app_system_font_notify_cb (GSettings *settings, font = DEFAULT_MONOSPACE_FONT; g_assert (font != NULL); + if (font && (strlen (font) == 0)) /* empty string */ + font = DEFAULT_MONOSPACE_FONT; + font_desc = pango_font_description_from_string (font); if (app->system_font_desc && pango_font_description_equal (app->system_font_desc, font_desc)) diff --git a/src/terminal-util.c b/src/terminal-util.c index 0384366..63a4859 100644 --- a/src/terminal-util.c +++ b/src/terminal-util.c @@ -178,11 +178,11 @@ terminal_util_show_help (const char *topic, if (topic) { - url = g_strdup_printf ("ghelp://%s?%s", uri, topic); + url = g_strdup_printf ("help://%s?%s", uri, topic); } else { - url = g_strdup_printf ("ghelp://%s", uri); + url = g_strdup_printf ("help://%s", uri); } if (!open_url (GTK_WINDOW (parent), url, gtk_get_current_event_time (), &error)) |