Mailinglist Archive: opensuse-commit (768 mails)

< Previous Next >
commit gnome-packagekit
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Mon, 09 Jun 2008 14:55:50 +0200
  • Message-id: <20080609125550.EDF1A67817A@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package gnome-packagekit
checked in at Mon Jun 9 14:55:50 CEST 2008.


--------
--- GNOME/gnome-packagekit/gnome-packagekit.changes 2008-06-06
02:05:33.000000000 +0200
+++
/mounts/work_src_done/STABLE/STABLE/gnome-packagekit/gnome-packagekit.changes
2008-06-06 22:26:29.044280000 +0200
@@ -1,0 +2,5 @@
+Fri Jun 6 22:32:21 CEST 2008 - sreeves@xxxxxxx
+
+- Fix for BNC#390658 - don't show dialog again if they decline to run.
+
+-------------------------------------------------------------------



++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-packagekit.spec ++++++
--- /var/tmp/diff_new_pack.t19237/_old 2008-06-09 14:55:38.000000000 +0200
+++ /var/tmp/diff_new_pack.t19237/_new 2008-06-09 14:55:38.000000000 +0200
@@ -13,7 +13,7 @@
Name: gnome-packagekit
Url: http://packagekit.org/
Version: 0.2.1
-Release: 16
+Release: 18
License: GPL v2 or later
Source: %{name}-%{version}.tar.bz2
#the .po files from https://forgesvn1.novell.com/viewsvn/suse-i18n/trunk/lcn/
@@ -99,6 +99,8 @@
%files lang -f %{name}.lang

%changelog
+* Sat Jun 07 2008 sreeves@xxxxxxx
+- Fix for BNC#390658 - don't show dialog again if they decline to run.
* Fri Jun 06 2008 sreeves@xxxxxxx
- Update translations
Includes initial translations for new dialog - BNC#390658

++++++ gnome-packagekit-fate303359.patch ++++++
--- /var/tmp/diff_new_pack.t19237/_old 2008-06-09 14:55:38.000000000 +0200
+++ /var/tmp/diff_new_pack.t19237/_new 2008-06-09 14:55:38.000000000 +0200
@@ -1,8 +1,16 @@
diff --git a/src/gpk-update-icon.c b/src/gpk-update-icon.c
-index 6dd369a..995194e 100644
+index 6dd369a..7cd4085 100644
--- a/src/gpk-update-icon.c
+++ b/src/gpk-update-icon.c
-@@ -101,6 +101,46 @@ pk_dbus_connection_replaced_cb (LibGBus *libgbus,
gpointer data)
+@@ -30,6 +30,7 @@
+ #include <dbus/dbus-glib.h>
+ #include <gtk/gtk.h>
+ #include <locale.h>
++#include <gconf/gconf-client.h>
+
+ #include <libgbus.h>
+
+@@ -101,6 +102,58 @@ pk_dbus_connection_replaced_cb (LibGBus *libgbus,
gpointer data)
gtk_main_quit ();
}

@@ -21,6 +29,18 @@
+check_for_online_update_configured ()
+{
+ if (! g_file_test ("/var/lib/YaST2/registrationDidRun",
G_FILE_TEST_EXISTS)) {
++ const gchar* ask_key =
"/apps/gnome-packagekit/updater_asked_to_configure";
++ GConfClient *gclient = gconf_client_get_default ();
++ gboolean already_asked = FALSE;
++ already_asked = gconf_client_get_bool (gclient, ask_key, NULL);
++ if (already_asked) {
++ g_object_unref (gclient);
++ return;
++ }
++ already_asked = TRUE;
++ gconf_client_set_bool (gclient, ask_key, already_asked, NULL);
++ g_object_unref (gclient);
++
+ pk_debug ("Online update not configured - will launch after
short delay");
+ g_usleep (1000000 * 8); //sleep for x seconds so we dont show
before the rest of the screen is done
+ GMainLoop * loop;
@@ -49,7 +69,7 @@
/**
* main:
**/
-@@ -154,6 +194,8 @@ main (int argc, char *argv[])
+@@ -154,6 +207,8 @@ main (int argc, char *argv[])
pk_debug_init (verbose);
gtk_init (&argc, &argv);



++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread