From: Jim Evins Date: Wed, 26 Nov 2003 01:08:03 +0000 (+0000) Subject: Only present object property editor when selection is atomic. X-Git-Tag: glabels-2_3_0~542 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=127a39e7edb69b54cc0ca0b4d421c63891d9ab1f;p=glabels Only present object property editor when selection is atomic. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@351 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- diff --git a/glabels2/src/ui-sidebar.c b/glabels2/src/ui-sidebar.c index e59b3d25..0b237036 100644 --- a/glabels2/src/ui-sidebar.c +++ b/glabels2/src/ui-sidebar.c @@ -226,7 +226,7 @@ selection_changed_cb (glView *view, gtk_container_remove (GTK_CONTAINER(sidebar), sidebar->child); - if (gl_view_is_selection_empty (view)) { + if (gl_view_is_selection_empty (view) || !gl_view_is_selection_atomic (view)) { sidebar->child = gtk_widget_ref (sidebar->empty_child);