[arch-commits] Commit in cinnamon-control-center/trunk (PKGBUILD gnomerrlabeler.patch)

Balló György bgyorgy at nymeria.archlinux.org
Thu May 16 18:26:14 EDT 2013


    Date: Friday, May 17, 2013 @ 00:26:14
  Author: bgyorgy
Revision: 90970

upgpkg: cinnamon-control-center 1.8.0-2

Fix rrlabeler patch

Modified:
  cinnamon-control-center/trunk/PKGBUILD
  cinnamon-control-center/trunk/gnomerrlabeler.patch

----------------------+
 PKGBUILD             |    4 ++--
 gnomerrlabeler.patch |   29 ++++++++++++++++++++---------
 2 files changed, 22 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-16 21:05:16 UTC (rev 90969)
+++ PKGBUILD	2013-05-16 22:26:14 UTC (rev 90970)
@@ -6,7 +6,7 @@
 
 pkgname=cinnamon-control-center
 pkgver=1.8.0
-pkgrel=1
+pkgrel=2
 pkgdesc="The Control Center for Cinnamon"
 arch=('i686' 'x86_64')
 depends=('cinnamon' 'cheese' 'libgnomekbd' 'network-manager-applet')
@@ -20,7 +20,7 @@
         "gnomerrlabeler.patch"
         "idle-delay.patch")
 sha256sums=('7230d509f5837906b5497279cfbd96180e5c8dad89777fb31a81fd0c73354fa9'
-            '604f0a30369d0380a0c5634f1fd50f3f44a89c0b3caec66b60d9e2648b569b90'
+            'a01db243251c3da59c969d4538a35a63020d1e20866ff700ef273debd05456db'
             '42ea92628dc234d65e582592a66c0011d5bb2c2eac14854a06f7a9dc923c8d67')
 
 build() {

Modified: gnomerrlabeler.patch
===================================================================
--- gnomerrlabeler.patch	2013-05-16 21:05:16 UTC (rev 90969)
+++ gnomerrlabeler.patch	2013-05-16 22:26:14 UTC (rev 90970)
@@ -1,5 +1,6 @@
---- cinnamon-control-center-1.8.0.orig/panels/display/cc-display-panel.c  2013-05-05 13:12:28.000000000 +0200
-+++ cinnamon-control-center-1.8.0/panels/display/cc-display-panel.c 2013-05-07 00:27:44.901035877 +0200
+diff -Naur cinnamon-control-center-1.7.3.orig/panels/display/cc-display-panel.c cinnamon-control-center-1.7.3/panels/display/cc-display-panel.c
+--- cinnamon-control-center-1.7.3.orig/panels/display/cc-display-panel.c	2013-04-15 16:04:38.000000000 +0200
++++ cinnamon-control-center-1.7.3/panels/display/cc-display-panel.c	2013-04-22 03:46:53.499944701 +0200
 @@ -31,12 +31,13 @@
  #define GNOME_DESKTOP_USE_UNSTABLE_API
  #include <libgnome-desktop/gnome-rr.h>
@@ -33,7 +34,7 @@
    g_object_unref (self->priv->labeler);
  
    G_OBJECT_CLASS (cc_display_panel_parent_class)->finalize (object);
-@@ -293,14 +294,14 @@
+@@ -293,16 +294,16 @@
    self->priv->current_output = NULL;
  
    if (self->priv->labeler) {
@@ -42,26 +43,36 @@
      g_object_unref (self->priv->labeler);
    }
  
-   self->priv->labeler = gnome_rr_labeler_new (self->priv->current_configuration);
+-  self->priv->labeler = gnome_rr_labeler_new (self->priv->current_configuration);
++  self->priv->labeler = cc_rr_labeler_new (self->priv->current_configuration);
  
    if (cc_panel_get_shell (CC_PANEL (self)) == NULL)
 -    gnome_rr_labeler_hide (self->priv->labeler);
 +    cc_rr_labeler_hide (self->priv->labeler);
    else
-     gnome_rr_labeler_show (self->priv->labeler);
+-    gnome_rr_labeler_show (self->priv->labeler);
++    cc_rr_labeler_show (self->priv->labeler);
  
-@@ -2596,7 +2597,7 @@
+   select_current_output_from_dialog_position (self);
+ 
+@@ -2594,9 +2595,9 @@
+   if (self->priv->labeler == NULL)
+     return;
    if (gtk_window_has_toplevel_focus (window))
-     gnome_rr_labeler_show (self->priv->labeler);
+-    gnome_rr_labeler_show (self->priv->labeler);
++    cc_rr_labeler_show (self->priv->labeler);
    else
 -    gnome_rr_labeler_hide (self->priv->labeler);
 +    cc_rr_labeler_hide (self->priv->labeler);
  }
  
  static void
-@@ -2608,7 +2609,7 @@
+@@ -2606,9 +2607,9 @@
+     if (CC_DISPLAY_PANEL(widget)->priv->labeler == NULL)
+         return;
      if (gtk_widget_get_visible (widget)) {
-         gnome_rr_labeler_show (CC_DISPLAY_PANEL (widget)->priv->labeler);
+-        gnome_rr_labeler_show (CC_DISPLAY_PANEL (widget)->priv->labeler);
++        cc_rr_labeler_show (CC_DISPLAY_PANEL (widget)->priv->labeler);
      } else {
 -        gnome_rr_labeler_hide (CC_DISPLAY_PANEL (widget)->priv->labeler);
 +        cc_rr_labeler_hide (CC_DISPLAY_PANEL (widget)->priv->labeler);



More information about the arch-commits mailing list