Ticket #25147: fix-xfce-bug-6110.diff

File fix-xfce-bug-6110.diff, 944 bytes (added by zheaton@…, 14 years ago)

Patch adapted from Xfce Bugzilla for Xfce Bug 6110

  • libxfce4panel/xfce-panel-window.c

    xfce_panel_window_init (XfcePanelWindow *panel_window) 
    304304
    305305    GTK_WIDGET_SET_FLAGS (GTK_WIDGET (panel_window), GTK_CAN_FOCUS);
    306306
    307     g_object_set (G_OBJECT (panel_window),
    308                   "type", GTK_WINDOW_TOPLEVEL,
    309                   "decorated", FALSE,
    310                   "resizable", FALSE,
    311                   "type-hint", GDK_WINDOW_TYPE_HINT_DOCK,
    312                   "title", PACKAGE_NAME " " PACKAGE_VERSION,
    313                   NULL);
    314 
     307    gtk_window_set_type_hint (GTK_WINDOW (panel_window), GDK_WINDOW_TYPE_HINT_DOCK);
     308    gtk_window_set_decorated (GTK_WINDOW (panel_window), FALSE);
     309    gtk_window_set_resizable (GTK_WINDOW (panel_window), FALSE);
     310    gtk_window_set_title (GTK_WINDOW (panel_window), PACKAGE_NAME);
    315311    gtk_window_stick (GTK_WINDOW (panel_window));
    316312
    317313    priv = XFCE_PANEL_WINDOW_GET_PRIVATE (panel_window);