packages: xfce4-panel/xfce4-panel.spec, xfce4-panel/xfce4-panel-decorations...

jajcus jajcus at pld-linux.org
Sat May 1 20:01:28 CEST 2010


Author: jajcus                       Date: Sat May  1 18:01:28 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- patch to hide decorations of XFCE4 panel (bug introduced with recent glib upgrade)
  http://bugzilla.xfce.org/show_bug.cgi?id=6110
- Release: 4

---- Files affected:
packages/xfce4-panel:
   xfce4-panel.spec (1.77 -> 1.78) , xfce4-panel-decorations.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/xfce4-panel/xfce4-panel.spec
diff -u packages/xfce4-panel/xfce4-panel.spec:1.77 packages/xfce4-panel/xfce4-panel.spec:1.78
--- packages/xfce4-panel/xfce4-panel.spec:1.77	Sat Feb 27 16:07:35 2010
+++ packages/xfce4-panel/xfce4-panel.spec	Sat May  1 20:01:19 2010
@@ -3,11 +3,12 @@
 Summary(pl.UTF-8):	Panel nowej generacji dla Xfce
 Name:		xfce4-panel
 Version:	4.6.1
-Release:	3
+Release:	4
 License:	GPL v2, LGPL v2
 Group:		X11/Applications
 Source0:	http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2
 # Source0-md5:	73a366b9892152266b465d7d9c35bef4
+Patch0:		%{name}-decorations.patch
 URL:		http://www.xfce.org/projects/xfce4-panel/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake >= 1:1.8
@@ -88,6 +89,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__gtkdocize}
@@ -183,6 +185,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.78  2010/05/01 18:01:19  jajcus
+- patch to hide decorations of XFCE4 panel (bug introduced with recent glib upgrade)
+  http://bugzilla.xfce.org/show_bug.cgi?id=6110
+- Release: 4
+
 Revision 1.77  2010/02/27 15:07:35  hawk
 - release 3
 

================================================================
Index: packages/xfce4-panel/xfce4-panel-decorations.patch
diff -u /dev/null packages/xfce4-panel/xfce4-panel-decorations.patch:1.1
--- /dev/null	Sat May  1 20:01:28 2010
+++ packages/xfce4-panel/xfce4-panel-decorations.patch	Sat May  1 20:01:19 2010
@@ -0,0 +1,23 @@
+diff --git a/libxfce4panel/xfce-panel-window.c b/libxfce4panel/xfce-panel-window.c
+index 7d0687b..6a6ecd8 100644
+--- a/libxfce4panel/xfce-panel-window.c
++++ b/libxfce4panel/xfce-panel-window.c
+@@ -304,14 +304,10 @@ xfce_panel_window_init (XfcePanelWindow *panel_window)
+ 
+     GTK_WIDGET_SET_FLAGS (GTK_WIDGET (panel_window), GTK_CAN_FOCUS);
+ 
+-    g_object_set (G_OBJECT (panel_window),
+-                  "type", GTK_WINDOW_TOPLEVEL,
+-                  "decorated", FALSE,
+-                  "resizable", FALSE,
+-                  "type-hint", GDK_WINDOW_TYPE_HINT_DOCK,
+-                  "title", PACKAGE_NAME " " PACKAGE_VERSION,
+-                  NULL);
+-
++    gtk_window_set_type_hint (GTK_WINDOW (panel_window), GDK_WINDOW_TYPE_HINT_DOCK);
++    gtk_window_set_decorated (GTK_WINDOW (panel_window), FALSE);
++    gtk_window_set_resizable (GTK_WINDOW (panel_window), FALSE);
++    gtk_window_set_title (GTK_WINDOW (panel_window), PACKAGE_NAME);
+     gtk_window_stick (GTK_WINDOW (panel_window));
+ 
+     priv = XFCE_PANEL_WINDOW_GET_PRIVATE (panel_window);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xfce4-panel/xfce4-panel.spec?r1=1.77&r2=1.78&f=u



More information about the pld-cvs-commit mailing list