From a4a82e9a8dc837e7ac52b0a7c908c2e4f4936b1b Mon Sep 17 00:00:00 2001 From: joncruz Date: Fri, 26 May 2006 07:31:57 +0000 Subject: [PATCH] Fixed resize handle in corner of main UI. --- ChangeLog | 7 +++++++ src/widgets/desktop-widget.cpp | 22 ---------------------- 2 files changed, 7 insertions(+), 22 deletions(-) diff --git a/ChangeLog b/ChangeLog index 722f97376..ac0fdfb0f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-05-26 Jon A. Cruz + + * src/widgets/desktop-widget.cpp: + + Fixed resize handle in corner of main UI. + Fixes bug #1493995. + 2006-05-26 Jon A. Cruz * src/layer-manager.cpp, src/layer-manager.h, diff --git a/src/widgets/desktop-widget.cpp b/src/widgets/desktop-widget.cpp index 7141d7ff7..0a4536bb1 100644 --- a/src/widgets/desktop-widget.cpp +++ b/src/widgets/desktop-widget.cpp @@ -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) { -- 2.30.2