Fix segfault introduced with --nodesktop
Этот коммит содержится в:
родитель
8dcb55ce88
Коммит
4a1dcb109b
@ -3,6 +3,7 @@
|
||||
* gicon.c (gicon_init): make missing icons non-fatal error
|
||||
|
||||
* gmain.c, gdesktop.c: added option not to display desktop icons
|
||||
(desktop_popup): don't handle clicks when --nodesktop
|
||||
|
||||
2000-01-26 Federico Mena Quintero <federico@helixcode.com>
|
||||
|
||||
|
@ -2707,6 +2707,9 @@ desktop_popup (GdkEventButton *event)
|
||||
|
||||
/* Create the menu and then strip the tearoff menu items, sigh... */
|
||||
|
||||
if (nodesktop)
|
||||
return;
|
||||
|
||||
popup = gnome_popup_menu_new (desktop_popup_items);
|
||||
|
||||
strip_tearoff_menu_item (desktop_arrange_icons_items);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user