mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-24 06:20:19 +00:00
Merge pull request #148 from ZoiteChat/menu-blank-spaces
Put horizontal lines back on menus
This commit is contained in:
@@ -2685,9 +2685,11 @@ togitem:
|
||||
goto togitem;
|
||||
|
||||
case M_SEP:
|
||||
item = gtk_menu_item_new ();
|
||||
gtk_widget_set_sensitive (item, FALSE);
|
||||
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
|
||||
item = gtk_separator_menu_item_new ();
|
||||
if (submenu)
|
||||
gtk_menu_shell_append (GTK_MENU_SHELL (submenu), item);
|
||||
else
|
||||
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
|
||||
gtk_widget_show (item);
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user