Code

Fixed resize handle in corner of main UI.
authorjoncruz <joncruz@users.sourceforge.net>
Fri, 26 May 2006 07:31:57 +0000 (07:31 +0000)
committerjoncruz <joncruz@users.sourceforge.net>
Fri, 26 May 2006 07:31:57 +0000 (07:31 +0000)
ChangeLog
src/widgets/desktop-widget.cpp

index 722f97376b2802d11680ee1df20f907a2bce59c5..ac0fdfb0fe1be830dac251ac58a1206734cb2133 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-05-26  Jon A. Cruz  <jon@joncruz.org>
+
+       * src/widgets/desktop-widget.cpp:
+
+         Fixed resize handle in corner of main UI.
+         Fixes bug #1493995.
+
 2006-05-26  Jon A. Cruz  <jon@joncruz.org>
 
        * src/layer-manager.cpp, src/layer-manager.h,
index 7141d7ff73cf029b243b2ddbfbf121526bb19b5c..0a4536bb1ba5deb64b160ca9e1496aadac8308d7 100644 (file)
@@ -822,30 +822,8 @@ sp_desktop_widget_layout (SPDesktopWidget *dtw)
 
     if (prefs_get_int_attribute (fullscreen ? "fullscreen.panels" : "window.panels", "state", 1) == 0) {
         gtk_widget_hide_all( dtw->panels );
-        GList* kids = gtk_container_get_children( GTK_CONTAINER( dtw->statusbar ) );
-        if ( kids )
-        {
-            GList* last = g_list_last( kids );
-            if ( last )
-            {
-                GtkStatusbar* tail = GTK_STATUSBAR( last->data );
-                gtk_statusbar_set_has_resize_grip( tail, TRUE );
-            }
-            g_list_free( kids );
-        }
     } else {
         gtk_widget_show_all( dtw->panels );
-        GList* kids = gtk_container_get_children( GTK_CONTAINER( dtw->statusbar ) );
-        if ( kids )
-        {
-            GList* last = g_list_last( kids );
-            if ( last )
-            {
-                GtkStatusbar* tail = GTK_STATUSBAR( last->data );
-                gtk_statusbar_set_has_resize_grip( tail, FALSE );
-            }
-            g_list_free( kids );
-        }
     }
 
     if (prefs_get_int_attribute (fullscreen ? "fullscreen.scrollbars" : "window.scrollbars", "state", 1) == 0) {