gnome-terminal r2492 - trunk/src



Author: chpe
Date: Wed Mar 19 18:13:35 2008
New Revision: 2492
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2492&view=rev

Log:
Remove obsolete code, and rename function.


Modified:
   trunk/src/terminal-window.c

Modified: trunk/src/terminal-window.c
==============================================================================
--- trunk/src/terminal-window.c	(original)
+++ trunk/src/terminal-window.c	Wed Mar 19 18:13:35 2008
@@ -641,7 +641,7 @@
 }
 
 static void
-update_zoom_sensitivity (TerminalWindow *window)
+terminal_window_update_zoom_sensitivity (TerminalWindow *window)
 {
   TerminalWindowPrivate *priv = window->priv;
   TerminalScreen *screen;
@@ -1336,10 +1336,6 @@
 		    G_CALLBACK (gtk_true),
 		    NULL);
 
-
-  /* FIXMEchpe remove */
-  update_zoom_sensitivity (window);
-
   terminal_window_reread_profile_list (window);
   
   terminal_window_set_menubar_visible (window, TRUE);
@@ -1914,7 +1910,7 @@
   terminal_window_update_set_profile_menu (window); /* FIXMEchpe no need to do this, just update the current profile action's active state! */
   terminal_window_update_new_terminal_menus (window);
   terminal_window_update_encoding_menu (window);
-  update_zoom_sensitivity (window);
+  terminal_window_update_zoom_sensitivity (window);
 }
 
 TerminalScreen*
@@ -2514,7 +2510,7 @@
   if (find_larger_zoom_factor (current, &current))
     {
       terminal_screen_set_font_scale (priv->active_term, current);
-      update_zoom_sensitivity (window);
+      terminal_window_update_zoom_sensitivity (window);
     }
 }
 
@@ -2534,7 +2530,7 @@
   if (find_smaller_zoom_factor (current, &current))
     {
       terminal_screen_set_font_scale (priv->active_term, current);
-      update_zoom_sensitivity (window);
+      terminal_window_update_zoom_sensitivity (window);
     }
 }
 
@@ -2548,7 +2544,7 @@
     return;
 
   terminal_screen_set_font_scale (priv->active_term, PANGO_SCALE_MEDIUM);
-  update_zoom_sensitivity (window);
+  terminal_window_update_zoom_sensitivity (window);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]