gnome-terminal r2938 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r2938 - trunk/src
- Date: Fri, 27 Jun 2008 19:21:09 +0000 (UTC)
Author: chpe
Date: Fri Jun 27 19:21:09 2008
New Revision: 2938
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2938&view=rev
Log:
Bug 540508 â Open new terminal windows at 80x25
Modified:
trunk/src/terminal-window.c
Modified: trunk/src/terminal-window.c
==============================================================================
--- trunk/src/terminal-window.c (original)
+++ trunk/src/terminal-window.c Fri Jun 27 19:21:09 2008
@@ -2381,8 +2381,6 @@
TerminalApp *app;
TerminalWindow *new_window;
TerminalProfile *profile;
- char *geometry;
- int width, height;
app = terminal_app_get ();
@@ -2395,10 +2393,6 @@
if (_terminal_profile_get_forgotten (profile))
return;
- /* FIXME: this seems wrong if tabs are shown in the window */
- terminal_screen_get_size (priv->active_screen, &width, &height);
- geometry = g_strdup_printf ("%dx%d", width, height);
-
new_window = terminal_app_new_window (app, gtk_widget_get_screen (GTK_WIDGET (window)));
terminal_app_new_terminal (app, new_window, profile,
@@ -2406,9 +2400,6 @@
terminal_screen_get_working_dir (priv->active_screen),
1.0);
- gtk_window_parse_geometry (GTK_WINDOW (new_window), geometry);
- g_free (geometry);
-
gtk_window_present (GTK_WINDOW (new_window));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]