r11644 - in /packages/experimental/update-notifier/debian: changelog patches/05_call_updatem_synaptic_with_gksu.diff
alanbach-guest at users.alioth.debian.org
alanbach-guest at users.alioth.debian.org
Wed Jun 20 05:42:49 UTC 2007
Author: alanbach-guest
Date: Wed Jun 20 05:42:49 2007
New Revision: 11644
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=11644
Log:
* Added 05_call_updatem_synaptic_with_gksu.diff, calls update manager and synaptic with gksu
Added:
packages/experimental/update-notifier/debian/patches/05_call_updatem_synaptic_with_gksu.diff
Modified:
packages/experimental/update-notifier/debian/changelog
Modified: packages/experimental/update-notifier/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/experimental/update-notifier/debian/changelog?rev=11644&op=diff
==============================================================================
--- packages/experimental/update-notifier/debian/changelog (original)
+++ packages/experimental/update-notifier/debian/changelog Wed Jun 20 05:42:49 2007
@@ -4,6 +4,8 @@
* New upstream release (Closes: #422507).
* Merged with the previous changelog entry.
* Added 04_fix_desktop_file.diff, calls with gksu
+ * Added 05_call_updatem_synaptic_with_gksu.diff, calls
+ update manager and synaptic with gksu
* Removed 001_all_linguas.diff, merged upstream
* Updated changelog.ubuntu
* Updated 002_i18n_update.diff, 03_detect_debian_cd.diff
Added: packages/experimental/update-notifier/debian/patches/05_call_updatem_synaptic_with_gksu.diff
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/experimental/update-notifier/debian/patches/05_call_updatem_synaptic_with_gksu.diff?rev=11644&op=file
==============================================================================
--- packages/experimental/update-notifier/debian/patches/05_call_updatem_synaptic_with_gksu.diff (added)
+++ packages/experimental/update-notifier/debian/patches/05_call_updatem_synaptic_with_gksu.diff Wed Jun 20 05:42:49 2007
@@ -1,0 +1,31 @@
+diff -urpN update-notifier-0.57.1.orig/src/update.c update-notifier-0.57.1/src/update.c
+--- update-notifier-0.57.1.orig/src/update.c 2007-06-20 09:06:54.000000000 +0330
++++ update-notifier-0.57.1/src/update.c 2007-06-20 09:07:45.000000000 +0330
+@@ -13,14 +13,14 @@
+
+ // command, description, desktopfile, needs_gksu
+ char* actions[][4] = {
+- { "/usr/bin/update-manager", N_("Show updates"),
++ { "gksu /usr/bin/update-manager", N_("Show updates"),
+ "/usr/share/applications/update-manager.desktop", FALSE },
+
+- { "/usr/sbin/synaptic --dist-upgrade-mode --non-interactive --hide-main-window -o Synaptic::AskRelated=true",
++ { "gksu /usr/sbin/synaptic --dist-upgrade-mode --non-interactive --hide-main-window -o Synaptic::AskRelated=true",
+ N_("Install all updates"), "/usr/share/applications/synaptic.desktop", TRUE
+ },
+- { "/usr/sbin/synaptic --update-at-startup --non-interactive --hide-main-window", N_("Check for updates"), "/usr/share/applications/synaptic.desktop", TRUE },
+- { "/usr/sbin/synaptic", N_("Start package manager"),
++ { "gksu /usr/sbin/synaptic --update-at-startup --non-interactive --hide-main-window", N_("Check for updates"), "/usr/share/applications/synaptic.desktop", TRUE },
++ { "gksu /usr/sbin/synaptic", N_("Start package manager"),
+ "/usr/share/applications/synaptic.desktop", TRUE},
+ { NULL, NULL, NULL }
+ };
+@@ -146,7 +146,7 @@ cb_action(GObject *self, void *user_data
+ void
+ cb_preferences(GObject *self, void *user_data)
+ {
+- invoke_with_gksu("/usr/bin/software-properties-gtk",
++ invoke_with_gksu("gksu /usr/bin/software-properties-gtk",
+ "/usr/share/applications/software-properties.desktop",
+ FALSE);
+ }
More information about the pkg-gnome-commits
mailing list