Don't let the empty menu filler affect visibility of separators. (#160500,
2004-12-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtkuimanager.c (update_smart_separators): Don't let the empty menu filler affect visibility of separators. (#160500, Christian Persch)
This commit is contained in:
committed by
Matthias Clasen
parent
57d366882d
commit
5191e341b4
@ -1,3 +1,9 @@
|
||||
2004-12-13 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkuimanager.c (update_smart_separators): Don't let the
|
||||
empty menu filler affect visibility of separators. (#160500,
|
||||
Christian Persch)
|
||||
|
||||
2004-12-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_menu_row_changed): Pass a
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
2004-12-13 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkuimanager.c (update_smart_separators): Don't let the
|
||||
empty menu filler affect visibility of separators. (#160500,
|
||||
Christian Persch)
|
||||
|
||||
2004-12-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_menu_row_changed): Pass a
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
2004-12-13 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkuimanager.c (update_smart_separators): Don't let the
|
||||
empty menu filler affect visibility of separators. (#160500,
|
||||
Christian Persch)
|
||||
|
||||
2004-12-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_menu_row_changed): Pass a
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
2004-12-13 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkuimanager.c (update_smart_separators): Don't let the
|
||||
empty menu filler affect visibility of separators. (#160500,
|
||||
Christian Persch)
|
||||
|
||||
2004-12-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_menu_row_changed): Pass a
|
||||
|
||||
@ -1959,7 +1959,6 @@ update_smart_separators (GtkWidget *proxy)
|
||||
else if (GTK_IS_MENU_ITEM (proxy) || GTK_IS_TOOL_ITEM (proxy))
|
||||
parent = gtk_widget_get_parent (proxy);
|
||||
|
||||
|
||||
if (parent)
|
||||
{
|
||||
gboolean visible;
|
||||
@ -1980,10 +1979,11 @@ update_smart_separators (GtkWidget *proxy)
|
||||
while (cur)
|
||||
{
|
||||
if (g_object_get_data (cur->data, "gtk-empty-menu-item"))
|
||||
filler = cur->data;
|
||||
|
||||
if (GTK_IS_SEPARATOR_MENU_ITEM (cur->data) ||
|
||||
GTK_IS_SEPARATOR_TOOL_ITEM (cur->data))
|
||||
{
|
||||
filler = cur->data;
|
||||
}
|
||||
else if (GTK_IS_SEPARATOR_MENU_ITEM (cur->data) ||
|
||||
GTK_IS_SEPARATOR_TOOL_ITEM (cur->data))
|
||||
{
|
||||
gint mode =
|
||||
GPOINTER_TO_INT (g_object_get_data (G_OBJECT (cur->data),
|
||||
|
||||
Reference in New Issue
Block a user