policykit-gnome r18 - in trunk: . examples src tools



Author: davidz
Date: Mon Apr 21 17:20:51 2008
New Revision: 18
URL: http://svn.gnome.org/viewvc/policykit-gnome?rev=18&view=rev

Log:
update to latest from git and start using SVN as the upstream SCM system


Modified:
   trunk/HACKING
   trunk/NEWS
   trunk/examples/Makefile.am
   trunk/src/polkit-gnome-manager.c
   trunk/tools/polkit-gnome-authorization.c

Modified: trunk/HACKING
==============================================================================
--- trunk/HACKING	(original)
+++ trunk/HACKING	Mon Apr 21 17:20:51 2008
@@ -1,72 +1,15 @@
-SCM (will be moved to GNOME SVN at some point)
-==============================================
-
- - anonymous checkouts
-
-   $ git clone git://people.freedesktop.org/~david/PolicyKit-gnome
-
- - commit to local repository
-
-   $ git commit -a
-
- - pull changes from master repository at fd.o
-
-   $ git pull
-
- - diff of working tree versus local repository
-
-   $ git diff
-
- - diff of local repository vs. master repository at fd.o
-
-   synchronize with upstream repo:
-   $ git pull
-
-   (possibly merge changes)
-
-   generate the diff:
-   $ git diff origin HEAD
-
- - influential environment variables (set these in e.g. .bash_profile)
-
-   export GIT_AUTHOR_NAME='Your Full Name'
-   export GIT_COMMITTER_NAME='Your Full Name'
-   export GIT_COMMITTER_EMAIL=youremail domain net
-   export GIT_AUTHOR_EMAIL=youremail domain net
-
- - see also
-
-    http://www.kernel.org/pub/software/scm/git/docs/
-
-
-Committing code
+SCM
 ===
 
- - Commit messages should be of the form (the five lines between the
-   lines starting with ===)
+PolicyKit-gnome is now at GNOME's SVN at
+
+ http://svn.gnome.org/viewvc/policykit-gnome/
 
-=== begin example commit ===
-short explanation of the commit
+The old git repository at
 
-Longer explanation explaining exactly what's changed, whether any
-external or private interfaces changed, what bugs were fixed (with bug
-tracker reference if applicable) and so forth. Be concise but not too brief.
-=== end example commit ===
-
- - Always add a brief description of the commit to the _first_ line of
-   the commit and terminate by two newlines (it will work without the
-   second newline, but that is not nice for the interfaces). 
-
- - First line (the brief description) must only be one sentence and
-   must not start with a capital letter. Don't use a trailing period
-   either.
-
- - The main description (the body) is normal prose and should use normal
-   punctuation and capital letters where appropriate. Normally, for patches
-   sent to a mailing list it's copied from there.
+ http://gitweb.freedesktop.org/?p=users/david/PolicyKit-gnome.git;a=summary
 
- - When committing code on behalf of others use the --author option, e.g.
-   git commit -a --author "Joe Coder <joe coder org>"
+is no longer used.
 
 Coding Style
 ===

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Mon Apr 21 17:20:51 2008
@@ -1,4 +1,38 @@
 ==========
+PolicyKit-gnome 0.8
+==========
+
+Released on April 16th 2008.
+
+Highlights of this release
+
+ o  Bug fixes
+ o  Translations: el, en_GB, es, fi, fr, he, hu, ja, sv
+
+David Zeuthen (9):
+      post release version bump to 0.8
+      add support for new constraint types: exe and selinux_context
+      don't crash when showing block authorizations for a user without .face
+      use gtk_window_present() to show the dialog
+      fix a few g_warnings when handling icons
+      test commit
+      use gtk_window_present_with_time() to circumvent focus stealing prevention
+      comment out check for policy file until SCM situation is under control
+      merge translations from svn.gnome.org
+
+Michael Biebl (1):
+      make sure build works with -Wl,--as-needed
+
+Requirements for PolicyKit-gnome 0.8
+
+ - PolicyKit        == 0.8
+ - GTK+             >= 2.12
+ - dbus             >= 1.0
+ - dbus-glib        >= 0.71
+ - gnome-vfs        >= 2.4
+ - libsexy          >= 0.1.11
+
+==========
 PolicyKit-gnome 0.7
 ==========
 

Modified: trunk/examples/Makefile.am
==============================================================================
--- trunk/examples/Makefile.am	(original)
+++ trunk/examples/Makefile.am	Mon Apr 21 17:20:51 2008
@@ -39,8 +39,8 @@
 # http://bugzilla.gnome.org/show_bug.cgi?id=462312
 @INTLTOOL_POLICY_RULE@
 
-check:
-	$(POLKIT_POLICY_FILE_VALIDATE) $(dist_polkit_policy_DATA)
+#check:
+#	$(POLKIT_POLICY_FILE_VALIDATE) $(dist_polkit_policy_DATA)
 
 EXTRA_DIST = polkit-gnome-example.policy.in
 

Modified: trunk/src/polkit-gnome-manager.c
==============================================================================
--- trunk/src/polkit-gnome-manager.c	(original)
+++ trunk/src/polkit-gnome-manager.c	Mon Apr 21 17:20:51 2008
@@ -32,6 +32,7 @@
 #include <glib.h>
 #include <glib/gi18n-lib.h>
 #include <glib-object.h>
+#include <gdk/gdkx.h>
 
 #define DBUS_API_SUBJECT_TO_CHANGE
 #include <dbus/dbus-glib.h>
@@ -634,6 +635,16 @@
         }
 }
 
+static void
+do_show_dialog (UserData *ud)
+{
+        guint32 server_time;
+        gtk_widget_realize (ud->dialog);
+        server_time = gdk_x11_get_server_time (ud->dialog->window);
+        gtk_window_present_with_time (GTK_WINDOW (ud->dialog), server_time);
+        gtk_widget_show_all (ud->dialog);
+}
+
 static char *
 conversation_select_admin_user (PolKitGrant *polkit_grant, char **admin_users, void *user_data)
 {
@@ -679,8 +690,8 @@
 
         polkit_gnome_auth_dialog_set_prompt (POLKIT_GNOME_AUTH_DIALOG (ud->dialog), _("_Password:"), FALSE);
 	response_id = g_signal_connect (GTK_WIDGET (ud->dialog), "response", G_CALLBACK (dialog_response), ud);
-        gtk_window_present (GTK_WINDOW (ud->dialog));
-        gtk_widget_show_all (ud->dialog);
+
+        do_show_dialog (ud);
 
         /* run the mainloop waiting for the user to be selected */
         while (ud->admin_user_selected == NULL)
@@ -746,7 +757,7 @@
         polkit_gnome_auth_dialog_set_prompt (POLKIT_GNOME_AUTH_DIALOG (ud->dialog), request2, echo_on);
         g_free (request2);
 
-        gtk_widget_show_all (ud->dialog);
+        do_show_dialog (ud);
 
         response = gtk_dialog_run (GTK_DIALOG (ud->dialog));
 

Modified: trunk/tools/polkit-gnome-authorization.c
==============================================================================
--- trunk/tools/polkit-gnome-authorization.c	(original)
+++ trunk/tools/polkit-gnome-authorization.c	Mon Apr 21 17:20:51 2008
@@ -2345,6 +2345,10 @@
                                                        (GBoxedCopyFunc) polkit_policy_file_entry_ref,
                                                        (GBoxedFreeFunc) polkit_policy_file_entry_unref);
 
+        bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
+        bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+        textdomain (GETTEXT_PACKAGE);
+
         loop = g_main_loop_new (NULL, FALSE);
 
         pkgc = polkit_gnome_context_get (NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]