diff --git a/gnome-panel-2.20.1-compiz-support.patch b/gnome-panel-2.20.1-compiz-support.patch new file mode 100644 index 0000000..5dd8c62 --- /dev/null +++ b/gnome-panel-2.20.1-compiz-support.patch @@ -0,0 +1,2083 @@ +diff -upNr gnome-panel-2.20.1.orign/applets/wncklet/workspace-switcher.c gnome-panel-2.20.1/applets/wncklet/workspace-switcher.c +--- gnome-panel-2.20.1.orign/applets/wncklet/workspace-switcher.c 2007-10-15 22:00:48.000000000 +0200 ++++ gnome-panel-2.20.1/applets/wncklet/workspace-switcher.c 2007-11-11 11:38:13.000000000 +0100 +@@ -26,6 +26,9 @@ + #include + #include + #include ++#include ++#include ++#include + + #include "workspace-switcher.h" + +@@ -55,6 +58,9 @@ typedef struct { + + /* Properties: */ + GtkWidget *properties_dialog; ++ GtkWidget *notebook; ++ GtkWidget *viewport_child; ++ GtkWidget *workspace_child; + GtkWidget *workspaces_frame; + GtkWidget *workspace_names_label; + GtkWidget *workspace_names_scroll; +@@ -68,7 +74,9 @@ typedef struct { + GtkListStore *workspaces_store; + + GtkWidget *about; +- ++ GtkWidget *width_spinbutton; ++ GtkWidget *height_spinbutton; ++ + GtkOrientation orientation; + int n_rows; /* for vertical layout this is cols */ + WnckPagerDisplayMode display_mode; +@@ -888,6 +896,38 @@ setup_sensitivity (PagerData *pager, + } + + static void ++spinbutton_changed (GtkWidget *widget, ++ gpointer data) ++{ ++ GConfClient *client = gconf_client_get_default (); ++ const char *key = data; ++ ++ int value = gtk_spin_button_get_value (GTK_SPIN_BUTTON (widget)); ++ ++ gconf_client_set_int (client, key, value, NULL); ++} ++ ++static void ++setup_spinbutton (GtkSpinButton *spin, ++ const char *key, ++ int minimum) ++{ ++ GConfClient *client = gconf_client_get_default (); ++ int value; ++ ++ if (!gconf_client_key_is_writable (client, key, NULL)) ++ gtk_widget_set_sensitive (GTK_WIDGET (spin), FALSE); ++ ++ value = gconf_client_get_int (client, key, NULL); ++ ++ gtk_spin_button_set_range (spin, minimum, G_MAXINT); ++ gtk_spin_button_set_value (spin, value); ++ ++ g_signal_connect (spin, "value_changed", G_CALLBACK (spinbutton_changed), (gpointer)key); ++} ++ ++ ++static void + setup_dialog (GladeXML *xml, + PagerData *pager) + { +@@ -1026,20 +1066,141 @@ setup_dialog (GladeXML *xml, + pager->properties_dialog); + } + ++ gtk_notebook_set_show_tabs (GTK_NOTEBOOK (pager->notebook), FALSE); ++ gtk_notebook_set_show_border (GTK_NOTEBOOK (pager->notebook), FALSE); ++ ++ setup_spinbutton (pager->width_spinbutton, "/apps/compiz/general/screen0/options/hsize", 1); ++ setup_spinbutton (pager->height_spinbutton, "/apps/compiz/general/screen0/options/vsize", 1); ++ + update_properties_for_wm (pager); + } + ++ ++/* get_wm_window() and current_window_manager() are essentially cutted and pasted ++ * from gnome-wm.c from gnome-control-center. ++ */ ++static Window ++get_wm_window (void) ++{ ++ Window *xwindow; ++ Atom type; ++ gint format; ++ gulong nitems; ++ gulong bytes_after; ++ Window result; ++ ++ XGetWindowProperty (GDK_DISPLAY (), GDK_ROOT_WINDOW (), ++ XInternAtom (GDK_DISPLAY (), "_NET_SUPPORTING_WM_CHECK", False), ++ 0, G_MAXLONG, False, XA_WINDOW, &type, &format, ++ &nitems, &bytes_after, (guchar **) &xwindow); ++ ++ if (type != XA_WINDOW) ++ { ++ return None; ++ } ++ ++ gdk_error_trap_push (); ++ XSelectInput (GDK_DISPLAY (), *xwindow, StructureNotifyMask | PropertyChangeMask); ++ XSync (GDK_DISPLAY (), False); ++ ++ if (gdk_error_trap_pop ()) ++ { ++ XFree (xwindow); ++ return None; ++ } ++ ++ result = *xwindow; ++ XFree (xwindow); ++ ++ return result; ++} ++ ++static char* ++get_current_window_manager (void) ++{ ++ Atom utf8_string, atom, type; ++ int result; ++ char *retval; ++ int format; ++ gulong nitems; ++ gulong bytes_after; ++ gchar *val; ++ Window wm_window = get_wm_window (); ++ ++ utf8_string = XInternAtom (GDK_DISPLAY (), "UTF8_STRING", False); ++ atom = XInternAtom (GDK_DISPLAY (), "_NET_WM_NAME", False); ++ ++ gdk_error_trap_push (); ++ ++ result = XGetWindowProperty (GDK_DISPLAY (), ++ wm_window, ++ atom, ++ 0, G_MAXLONG, ++ False, utf8_string, ++ &type, &format, &nitems, ++ &bytes_after, (guchar **)&val); ++ ++ if (gdk_error_trap_pop () || result != Success) ++ return NULL; ++ ++ if (type != utf8_string || ++ format !=8 || ++ nitems == 0) ++ { ++ if (val) ++ XFree (val); ++ return NULL; ++ } ++ ++ if (!g_utf8_validate (val, nitems, NULL)) ++ { ++ XFree (val); ++ return NULL; ++ } ++ ++ retval = g_strndup (val, nitems); ++ ++ XFree (val); ++ ++ return retval; ++} ++ ++static gboolean ++compiz_is_running (void) ++{ ++ gboolean result; ++ char *wm = get_current_window_manager (); ++ ++ result = wm && strcmp (wm, "compiz") == 0; ++ ++ g_free (wm); ++ ++ return result; ++ } ++ ++ ++ + static void + display_properties_dialog (BonoboUIComponent *uic, + PagerData *pager, + const gchar *verbname) + { +- if (pager->properties_dialog == NULL) { +- GladeXML *xml; + +- xml = glade_xml_new (PAGER_GLADEDIR "/workspace-switcher.glade", NULL, NULL); ++ gboolean using_compiz; ++ if (pager->properties_dialog == NULL) { ++ GladeXML *xml = glade_xml_new (PAGER_GLADEDIR "/workspace-switcher.glade", NULL, NULL); ++ + pager->properties_dialog = glade_xml_get_widget (xml, "pager_properties_dialog"); + ++ pager->notebook = glade_xml_get_widget (xml, "notebook"); ++ pager->viewport_child = glade_xml_get_widget (xml, "viewport-child"); ++ pager->workspace_child = glade_xml_get_widget (xml, "workspace-child"); ++ pager->width_spinbutton = glade_xml_get_widget (xml, "width-spinbutton"); ++ pager->height_spinbutton = glade_xml_get_widget (xml, "height-spinbutton"); ++ ++ g_object_ref (pager->viewport_child); ++ g_object_ref (pager->workspace_child); ++ + g_object_add_weak_pointer (G_OBJECT (pager->properties_dialog), + (gpointer *) &pager->properties_dialog); + +@@ -1048,9 +1209,27 @@ display_properties_dialog (BonoboUICompo + g_object_unref (G_OBJECT (xml)); + } + ++ using_compiz = compiz_is_running(); ++ ++ if (using_compiz) { ++ gtk_widget_hide (pager->workspace_child); ++ gtk_widget_show (pager->viewport_child); ++ gtk_window_set_resizable (GTK_WINDOW (pager->properties_dialog), FALSE); ++ } ++ else { ++ gtk_widget_show (pager->workspace_child); ++ gtk_widget_hide (pager->viewport_child); ++ gtk_window_set_resizable (GTK_WINDOW (pager->properties_dialog), TRUE); ++ } ++ + gtk_window_set_icon_name (GTK_WINDOW (pager->properties_dialog), + "gnome-panel-workspace-switcher"); + gtk_window_set_screen (GTK_WINDOW (pager->properties_dialog), + gtk_widget_get_screen (pager->applet)); + gtk_window_present (GTK_WINDOW (pager->properties_dialog)); ++ ++ if (using_compiz) { ++ gtk_widget_grab_focus (pager->width_spinbutton); ++ gtk_editable_select_region (GTK_EDITABLE (pager->width_spinbutton), 0, -1); ++ } + } +diff -upNr gnome-panel-2.20.1.orign/applets/wncklet/workspace-switcher.glade gnome-panel-2.20.1/applets/wncklet/workspace-switcher.glade +--- gnome-panel-2.20.1.orign/applets/wncklet/workspace-switcher.glade 2007-10-15 22:00:48.000000000 +0200 ++++ gnome-panel-2.20.1/applets/wncklet/workspace-switcher.glade 2007-11-11 12:11:50.000000000 +0100 +@@ -1,287 +1,772 @@ +- +- +- ++ ++ ++ + +- +- 5 +- Workspace Switcher Preferences +- GDK_WINDOW_TYPE_HINT_NORMAL +- False +- +- +- True +- 2 +- +- +- True +- 5 +- 12 +- +- +- True +- GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK +- 0 +- GTK_SHADOW_NONE +- +- +- True +- GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK +- 12 +- +- +- True +- 6 +- +- +- True +- True +- Show _only the current workspace +- True +- 0 +- True +- +- +- False +- False +- +- +- +- +- True +- 12 +- +- +- True +- True +- Show _all workspaces in: +- True +- 0 +- True +- current_only_radio +- +- +- False +- False +- +- +- +- +- True +- 6 +- +- +- True +- True +- 1 1 16 1 10 10 +- 1 +- True +- +- +- +- +- True +- 0 +- rows +- GTK_JUSTIFY_CENTER +- num_rows_spin +- +- +- False +- False +- 1 +- +- +- +- +- 1 +- +- +- +- +- 1 +- +- +- +- +- +- +- +- +- True +- GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK +- <b>Switcher</b> +- True +- +- +- label_item +- +- +- +- +- False +- +- +- +- +- True +- GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK +- 0 +- GTK_SHADOW_NONE +- +- +- True +- GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK +- 12 +- +- +- True +- 6 +- +- +- True +- 12 +- +- +- True +- 0 +- Number of _workspaces: +- True +- GTK_JUSTIFY_CENTER +- num_workspaces_spin +- +- +- False +- False +- +- +- +- +- True +- True +- 1 1 36 1 10 10 +- 1 +- True +- +- +- 1 +- +- +- +- +- False +- False +- +- +- +- +- True +- 0 +- Workspace na_mes: +- True +- workspaces_tree_view +- +- +- False +- False +- 1 +- +- +- +- +- 100 +- True +- True +- GTK_POLICY_AUTOMATIC +- GTK_POLICY_AUTOMATIC +- GTK_SHADOW_IN +- +- +- True +- True +- Workspace Names +- False +- +- +- +- +- 2 +- +- +- +- +- True +- True +- Show workspace _names in switcher +- True +- 0 +- True +- +- +- False +- False +- 3 +- +- +- +- +- +- +- +- +- True +- GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK +- <b>Workspaces</b> +- True +- +- +- label_item +- +- +- +- +- 1 +- +- +- +- +- 1 +- +- +- +- +- True +- GTK_BUTTONBOX_END +- +- +- True +- True +- True +- gtk-help +- True +- -11 +- +- +- +- +- True +- True +- True +- True +- gtk-close +- True +- 0 +- +- +- 1 +- +- +- +- +- False +- GTK_PACK_END +- +- +- +- +- ++ ++ ++ 5 ++ Workspace Switcher Preferences ++ GTK_WINDOW_TOPLEVEL ++ GTK_WIN_POS_NONE ++ False ++ True ++ False ++ True ++ False ++ False ++ GDK_WINDOW_TYPE_HINT_NORMAL ++ GDK_GRAVITY_NORTH_WEST ++ True ++ False ++ False ++ ++ ++ ++ True ++ False ++ 2 ++ ++ ++ ++ True ++ GTK_BUTTONBOX_END ++ ++ ++ ++ True ++ True ++ True ++ gtk-help ++ True ++ GTK_RELIEF_NORMAL ++ True ++ -11 ++ ++ ++ ++ ++ ++ True ++ True ++ True ++ True ++ gtk-close ++ True ++ GTK_RELIEF_NORMAL ++ True ++ 0 ++ ++ ++ ++ ++ 0 ++ False ++ True ++ GTK_PACK_END ++ ++ ++ ++ ++ ++ True ++ True ++ True ++ True ++ GTK_POS_TOP ++ False ++ False ++ ++ ++ ++ 5 ++ True ++ False ++ 12 ++ ++ ++ ++ True ++ 0 ++ 0.5 ++ GTK_SHADOW_NONE ++ ++ ++ ++ True ++ 0.5 ++ 0.5 ++ 1 ++ 1 ++ 0 ++ 0 ++ 12 ++ 0 ++ ++ ++ ++ True ++ False ++ 6 ++ ++ ++ ++ True ++ True ++ Show _only the current workspace ++ True ++ GTK_RELIEF_NORMAL ++ True ++ False ++ False ++ True ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ ++ ++ True ++ False ++ 12 ++ ++ ++ ++ True ++ True ++ Show _all workspaces in: ++ True ++ GTK_RELIEF_NORMAL ++ True ++ False ++ False ++ True ++ current_only_radio ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ ++ ++ True ++ False ++ 6 ++ ++ ++ ++ True ++ True ++ 1 ++ 0 ++ True ++ GTK_UPDATE_ALWAYS ++ False ++ False ++ 1 1 16 1 10 10 ++ ++ ++ 0 ++ True ++ True ++ ++ ++ ++ ++ ++ True ++ rows ++ False ++ False ++ GTK_JUSTIFY_CENTER ++ False ++ False ++ 0 ++ 0.5 ++ 0 ++ 0 ++ num_rows_spin ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ ++ 0 ++ True ++ True ++ ++ ++ ++ ++ 0 ++ True ++ True ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ True ++ <b>Switcher</b> ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0.5 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ label_item ++ ++ ++ ++ ++ 0 ++ False ++ True ++ ++ ++ ++ ++ ++ True ++ 0 ++ 0.5 ++ GTK_SHADOW_NONE ++ ++ ++ ++ True ++ 0.5 ++ 0.5 ++ 1 ++ 1 ++ 0 ++ 0 ++ 12 ++ 0 ++ ++ ++ ++ True ++ False ++ 6 ++ ++ ++ ++ True ++ False ++ 12 ++ ++ ++ ++ True ++ Number of _workspaces: ++ True ++ False ++ GTK_JUSTIFY_CENTER ++ False ++ False ++ 0 ++ 0.5 ++ 0 ++ 0 ++ num_workspaces_spin ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ ++ ++ True ++ True ++ 1 ++ 0 ++ True ++ GTK_UPDATE_ALWAYS ++ False ++ False ++ 1 1 36 1 10 10 ++ ++ ++ 0 ++ True ++ True ++ ++ ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ ++ ++ True ++ Workspace na_mes: ++ True ++ False ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0 ++ 0.5 ++ 0 ++ 0 ++ workspaces_tree_view ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ ++ ++ 100 ++ True ++ True ++ GTK_POLICY_AUTOMATIC ++ GTK_POLICY_AUTOMATIC ++ GTK_SHADOW_IN ++ GTK_CORNER_TOP_LEFT ++ ++ ++ ++ True ++ Workspace Names ++ True ++ False ++ False ++ False ++ True ++ False ++ False ++ False ++ ++ ++ ++ ++ 0 ++ True ++ True ++ ++ ++ ++ ++ ++ True ++ True ++ Show workspace _names in switcher ++ True ++ GTK_RELIEF_NORMAL ++ True ++ False ++ False ++ True ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ True ++ <b>Workspaces</b> ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0.5 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ label_item ++ ++ ++ ++ ++ 0 ++ True ++ True ++ ++ ++ ++ ++ False ++ True ++ ++ ++ ++ ++ ++ True ++ label7 ++ False ++ False ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0.5 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ tab ++ ++ ++ ++ ++ ++ 6 ++ True ++ False ++ 6 ++ ++ ++ ++ True ++ <b>Desktop Size</b> ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ ++ ++ True ++ False ++ 0 ++ ++ ++ ++ True ++ ++ False ++ False ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0.5 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ ++ ++ True ++ False ++ 6 ++ ++ ++ ++ True ++ 2 ++ 3 ++ False ++ 6 ++ 6 ++ ++ ++ ++ True ++ Width: ++ False ++ False ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ 1 ++ 0 ++ 1 ++ fill ++ ++ ++ ++ ++ ++ ++ True ++ Height: ++ False ++ False ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ 1 ++ 1 ++ 2 ++ fill ++ ++ ++ ++ ++ ++ ++ True ++ columns ++ False ++ False ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 2 ++ 3 ++ 0 ++ 1 ++ fill ++ ++ ++ ++ ++ ++ ++ True ++ rows ++ False ++ False ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 2 ++ 3 ++ 1 ++ 2 ++ fill ++ ++ ++ ++ ++ ++ ++ True ++ True ++ 1 ++ 0 ++ False ++ GTK_UPDATE_ALWAYS ++ False ++ False ++ 1 0 100 1 10 10 ++ ++ ++ 1 ++ 2 ++ 0 ++ 1 ++ fill ++ ++ ++ ++ ++ ++ ++ True ++ True ++ 1 ++ 0 ++ False ++ GTK_UPDATE_ALWAYS ++ False ++ False ++ 1 0 100 1 10 10 ++ ++ ++ 1 ++ 2 ++ 1 ++ 2 ++ fill ++ ++ ++ ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ ++ 0 ++ True ++ True ++ ++ ++ ++ ++ 0 ++ True ++ True ++ ++ ++ ++ ++ False ++ True ++ ++ ++ ++ ++ ++ True ++ label8 ++ False ++ False ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0.5 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ tab ++ ++ ++ ++ ++ 0 ++ True ++ True ++ ++ ++ ++ ++ ++ + +diff -upNr gnome-panel-2.20.1.orign/applets/wncklet/workspace-switcher.glade.bak gnome-panel-2.20.1/applets/wncklet/workspace-switcher.glade.bak +--- gnome-panel-2.20.1.orign/applets/wncklet/workspace-switcher.glade.bak 1970-01-01 01:00:00.000000000 +0100 ++++ gnome-panel-2.20.1/applets/wncklet/workspace-switcher.glade.bak 2007-11-11 12:09:57.000000000 +0100 +@@ -0,0 +1,772 @@ ++ ++ ++ ++ ++ ++ ++ 5 ++ Workspace Switcher Preferences ++ GTK_WINDOW_TOPLEVEL ++ GTK_WIN_POS_NONE ++ False ++ True ++ False ++ True ++ False ++ False ++ GDK_WINDOW_TYPE_HINT_NORMAL ++ GDK_GRAVITY_NORTH_WEST ++ True ++ False ++ False ++ ++ ++ ++ True ++ False ++ 2 ++ ++ ++ ++ True ++ GTK_BUTTONBOX_END ++ ++ ++ ++ True ++ True ++ True ++ gtk-help ++ True ++ GTK_RELIEF_NORMAL ++ True ++ -11 ++ ++ ++ ++ ++ ++ True ++ True ++ True ++ True ++ gtk-close ++ True ++ GTK_RELIEF_NORMAL ++ True ++ 0 ++ ++ ++ ++ ++ 0 ++ False ++ True ++ GTK_PACK_END ++ ++ ++ ++ ++ ++ True ++ True ++ True ++ True ++ GTK_POS_TOP ++ False ++ False ++ ++ ++ ++ 5 ++ True ++ False ++ 12 ++ ++ ++ ++ True ++ 0 ++ 0.5 ++ GTK_SHADOW_NONE ++ ++ ++ ++ True ++ 0.5 ++ 0.5 ++ 1 ++ 1 ++ 0 ++ 0 ++ 12 ++ 0 ++ ++ ++ ++ True ++ False ++ 6 ++ ++ ++ ++ True ++ True ++ Show _only the current workspace ++ True ++ GTK_RELIEF_NORMAL ++ True ++ False ++ False ++ True ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ ++ ++ True ++ False ++ 12 ++ ++ ++ ++ True ++ True ++ Show _all workspaces in: ++ True ++ GTK_RELIEF_NORMAL ++ True ++ False ++ False ++ True ++ current_only_radio ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ ++ ++ True ++ False ++ 6 ++ ++ ++ ++ True ++ True ++ 1 ++ 0 ++ True ++ GTK_UPDATE_ALWAYS ++ False ++ False ++ 1 1 16 1 10 10 ++ ++ ++ 0 ++ True ++ True ++ ++ ++ ++ ++ ++ True ++ rows ++ False ++ False ++ GTK_JUSTIFY_CENTER ++ False ++ False ++ 0 ++ 0.5 ++ 0 ++ 0 ++ num_rows_spin ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ ++ 0 ++ True ++ True ++ ++ ++ ++ ++ 0 ++ True ++ True ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ True ++ <b>Switcher</b> ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0.5 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ label_item ++ ++ ++ ++ ++ 0 ++ False ++ True ++ ++ ++ ++ ++ ++ True ++ 0 ++ 0.5 ++ GTK_SHADOW_NONE ++ ++ ++ ++ True ++ 0.5 ++ 0.5 ++ 1 ++ 1 ++ 0 ++ 0 ++ 12 ++ 0 ++ ++ ++ ++ True ++ False ++ 6 ++ ++ ++ ++ True ++ False ++ 12 ++ ++ ++ ++ True ++ Number of _workspaces: ++ True ++ False ++ GTK_JUSTIFY_CENTER ++ False ++ False ++ 0 ++ 0.5 ++ 0 ++ 0 ++ num_workspaces_spin ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ ++ ++ True ++ True ++ 1 ++ 0 ++ True ++ GTK_UPDATE_ALWAYS ++ False ++ False ++ 1 1 36 1 10 10 ++ ++ ++ 0 ++ True ++ True ++ ++ ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ ++ ++ True ++ Workspace na_mes: ++ True ++ False ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0 ++ 0.5 ++ 0 ++ 0 ++ workspaces_tree_view ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ ++ ++ 100 ++ True ++ True ++ GTK_POLICY_AUTOMATIC ++ GTK_POLICY_AUTOMATIC ++ GTK_SHADOW_IN ++ GTK_CORNER_TOP_LEFT ++ ++ ++ ++ True ++ Workspace Names ++ True ++ False ++ False ++ False ++ True ++ False ++ False ++ False ++ ++ ++ ++ ++ 0 ++ True ++ True ++ ++ ++ ++ ++ ++ True ++ True ++ Show workspace _names in switcher ++ True ++ GTK_RELIEF_NORMAL ++ True ++ False ++ False ++ True ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ True ++ <b>Workspaces</b> ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0.5 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ label_item ++ ++ ++ ++ ++ 0 ++ True ++ True ++ ++ ++ ++ ++ False ++ True ++ ++ ++ ++ ++ ++ True ++ label7 ++ False ++ False ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0.5 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ tab ++ ++ ++ ++ ++ ++ 6 ++ True ++ False ++ 6 ++ ++ ++ ++ True ++ <b>Desktop Size</b> ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ ++ ++ True ++ False ++ 0 ++ ++ ++ ++ True ++ ++ False ++ False ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0.5 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ ++ ++ True ++ False ++ 6 ++ ++ ++ ++ True ++ 2 ++ 3 ++ False ++ 6 ++ 6 ++ ++ ++ ++ True ++ Width: ++ False ++ False ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ 1 ++ 0 ++ 1 ++ fill ++ ++ ++ ++ ++ ++ ++ True ++ Height: ++ False ++ False ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ 1 ++ 1 ++ 2 ++ fill ++ ++ ++ ++ ++ ++ ++ True ++ columns ++ False ++ False ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 2 ++ 3 ++ 0 ++ 1 ++ fill ++ ++ ++ ++ ++ ++ ++ True ++ rows ++ False ++ False ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 2 ++ 3 ++ 1 ++ 2 ++ fill ++ ++ ++ ++ ++ ++ ++ True ++ True ++ 1 ++ 0 ++ False ++ GTK_UPDATE_ALWAYS ++ False ++ False ++ 1 0 100 1 10 10 ++ ++ ++ 1 ++ 2 ++ 0 ++ 1 ++ fill ++ ++ ++ ++ ++ ++ ++ True ++ True ++ 1 ++ 0 ++ False ++ GTK_UPDATE_ALWAYS ++ False ++ False ++ 1 0 100 1 10 10 ++ ++ ++ 1 ++ 2 ++ 1 ++ 2 ++ fill ++ ++ ++ ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ ++ 0 ++ True ++ True ++ ++ ++ ++ ++ 0 ++ True ++ True ++ ++ ++ ++ ++ False ++ True ++ ++ ++ ++ ++ ++ True ++ label8 ++ False ++ False ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0.5 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ tab ++ ++ ++ ++ ++ 0 ++ True ++ True ++ ++ ++ ++ ++ ++ ++ diff --git a/gnome-panel.spec b/gnome-panel.spec index 214a8b2..ff826f0 100644 --- a/gnome-panel.spec +++ b/gnome-panel.spec @@ -22,7 +22,7 @@ Summary: GNOME panel Name: gnome-panel Version: 2.20.1 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://www.gnome.org Source0: http://download.gnome.org/sources/gnome-panel/2.20/%{name}-%{version}.tar.bz2 Source1: redhat-panel-default-setup.entries @@ -104,6 +104,8 @@ Patch11: applet-error.patch # try to deal with the 22/24 madness in icon themes Patch12: more-sharp-icons.patch +#compiz support +Patch13: gnome-panel-2.20.1-compiz-support.patch Conflicts: gnome-power-manager < 2.15.3 @@ -142,6 +144,7 @@ Panel Applets using the libpanel-applet library. %patch10 -p1 -b .preferred-apps %patch11 -p1 -b .applet-error %patch12 -p1 -b .more-sharp-icons +%patch13 -p1 -b .compiz-support . %{SOURCE4} @@ -321,6 +324,9 @@ fi %{_datadir}/gtk-doc/html/* %changelog +* Sun Nov 11 2007 Adel Gadllah - 2.20.1-2 +- Readd compiz support to the pager + * Mon Oct 15 2007 Matthias Clasen - 2.20.1-1 - Update to 2.20.1 (translation updates)