[gnome-terminal] Don't apply the default size
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] Don't apply the default size
- Date: Sun, 14 Mar 2010 22:00:34 +0000 (UTC)
commit 500c2dfced7e161a02eca5d7a26f4690b3443bec
Author: Christian Persch <chpe gnome org>
Date: Thu Mar 11 21:05:57 2010 +0100
Don't apply the default size
Hide the default size pref, and don't apply the default size when
creating the TerminalScreen. Works around bug #607875.
src/profile-preferences.glade | 2 +-
src/terminal-screen.c | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/profile-preferences.glade b/src/profile-preferences.glade
index 61af195..d90b534 100644
--- a/src/profile-preferences.glade
+++ b/src/profile-preferences.glade
@@ -404,7 +404,7 @@ Underline</property>
<child>
<widget class="GtkHBox" id="hbox141">
- <property name="visible">True</property>
+ <property name="visible">False</property>
<property name="homogeneous">False</property>
<property name="spacing">12</property>
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index 060aa29..7a268da 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -738,9 +738,11 @@ terminal_screen_new (TerminalProfile *profile,
terminal_screen_set_profile (screen, profile);
+#if 0
vte_terminal_set_size (VTE_TERMINAL (screen),
terminal_profile_get_property_int (profile, TERMINAL_PROFILE_DEFAULT_SIZE_COLUMNS),
terminal_profile_get_property_int (profile, TERMINAL_PROFILE_DEFAULT_SIZE_ROWS));
+#endif
if (title)
terminal_screen_set_override_title (screen, title);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]