]> err.no Git - systemd/commitdiff
Revert upstream change which requires libnotify 0.7
authorTollef Fog Heen <tfheen@err.no>
Sat, 20 Nov 2010 08:35:57 +0000 (09:35 +0100)
committerTollef Fog Heen <tfheen@err.no>
Sat, 20 Nov 2010 08:35:57 +0000 (09:35 +0100)
configure.ac
debian/changelog
debian/rules
src/gnome-ask-password-agent.vala

index 247806d747a17ebec3697a74817b0dbaef30cbed..e39bb1576fe21ad7879087f6e8de09d09926ddc3 100644 (file)
@@ -256,12 +256,12 @@ if test "$have_gtk" = "yes"; then
         AC_SUBST(DBUSGLIB_CFLAGS)
         AC_SUBST(DBUSGLIB_LIBS)
 
-        PKG_CHECK_MODULES(LIBNOTIFY, [ libnotify >= 0.7.0 ])
+        PKG_CHECK_MODULES(LIBNOTIFY, [ libnotify ])
         AC_SUBST(LIBNOTIFY_CFLAGS)
         AC_SUBST(LIBNOTIFY_LIBS)
 fi
 
-AM_PROG_VALAC([0.11])
+AM_PROG_VALAC([0.9])
 AC_SUBST(VAPIDIR)
 AM_CONDITIONAL(HAVE_VALAC, test x"$VALAC" != x)
 
index f80b76121748c651cb629a93d276b3fec6baceed..b1bcca04699909ebc9705bafda901c9cb9713689 100644 (file)
@@ -1,9 +1,14 @@
 systemd (13-1) experimental; urgency=low
 
+  [ Tollef Fog Heen ]
   * New upstream version, thanks a lot to Michael Biebl for help with
     preparing this version.
   * Add libaudit-dev to build-depends
 
+  [ Michael Biebl ]
+  * Revert upstream change which requires libnotify 0.7 (not yet available in
+    Debian).
+
  -- Tollef Fog Heen <tfheen@debian.org>  Sat, 20 Nov 2010 09:28:01 +0100
 
 systemd (11-2) experimental; urgency=low
index b0ce04430344ed43e8b9835b3c3c1c01d93e520d..63bfa6d2e9c4ba8cc184c900d06b2ef2779e9fff 100755 (executable)
@@ -5,6 +5,7 @@
 
 override_dh_auto_configure:
        dh_auto_configure -- --with-rootdir= --with-udevrulesdir=/lib/udev/rules.d --with-gtk
+       dh $@ --parallel --with autoreconf
 
 override_dh_install:
        rm debian/tmp/usr/share/doc/systemd/LICENSE
index 6cab6f96a776523b76027f094469848168bbc529..1523e2e3bef16d805a6845d795085399a5c294c4 100644 (file)
@@ -38,8 +38,8 @@ public class PasswordDialog : Dialog {
                 set_default_response(ResponseType.OK);
                 set_icon_name(icon);
 
-                add_button(Stock.CANCEL, ResponseType.CANCEL);
-                add_button(Stock.OK, ResponseType.OK);
+                add_button(STOCK_CANCEL, ResponseType.CANCEL);
+                add_button(STOCK_OK, ResponseType.OK);
 
                 Container content = (Container) get_content_area();
 
@@ -181,7 +181,8 @@ public class MyStatusIcon : StatusIcon {
 
                 set_visible(true);
 
-                Notification n = new Notification(title, message, icon);
+                Notification n = new Notification(title, message, icon, null);
+                n.attach_to_status_icon(this);
                 n.set_timeout(5000);
                 n.show();
 
@@ -225,7 +226,7 @@ public class MyStatusIcon : StatusIcon {
 
                 OutputStream stream = new UnixOutputStream(to_process, true);
 
-                stream.write(password.data, null);
+                stream.write(password, password.length, null);
         }
 }