[Xfce4-commits] r27323 - in xfce4-mixer/trunk: . libxfce4mixer xfce4-mixer
Author: jannis Date: 2008-07-17 00:22:45 + (Thu, 17 Jul 2008) New Revision: 27323 Modified: xfce4-mixer/trunk/ChangeLog xfce4-mixer/trunk/libxfce4mixer/xfce-mixer-preferences.c xfce4-mixer/trunk/xfce4-mixer/main.c xfce4-mixer/trunk/xfce4-mixer/xfce-mixer-window.c Log: * libxfce4mixer/xfce-mixer-preferences.c, xfce4-mixer/main.c, xfce4-mixer/xfce-mixer-window.c: Fix a few memory leaks. Modified: xfce4-mixer/trunk/ChangeLog === --- xfce4-mixer/trunk/ChangeLog 2008-07-16 23:14:49 UTC (rev 27322) +++ xfce4-mixer/trunk/ChangeLog 2008-07-17 00:22:45 UTC (rev 27323) @@ -1,3 +1,8 @@ +2008-07-17 Jannis Pohlmann <[EMAIL PROTECTED]> + + * libxfce4mixer/xfce-mixer-preferences.c, xfce4-mixer/main.c, + xfce4-mixer/xfce-mixer-window.c: Fix a few memory leaks. + 2008-06-23 Jannis Pohlmann <[EMAIL PROTECTED]> * libxfce4mixer/xfce-mixer-track-combo.c, Modified: xfce4-mixer/trunk/libxfce4mixer/xfce-mixer-preferences.c === --- xfce4-mixer/trunk/libxfce4mixer/xfce-mixer-preferences.c2008-07-16 23:14:49 UTC (rev 27322) +++ xfce4-mixer/trunk/libxfce4mixer/xfce-mixer-preferences.c2008-07-17 00:22:45 UTC (rev 27323) @@ -280,6 +280,8 @@ g_value_unset (&src); } + g_free (specs); + xfce_rc_close (rc); g_object_thaw_notify (G_OBJECT (preferences)); @@ -335,6 +337,8 @@ g_value_unset (&dest); } + g_free (specs); + xfce_rc_close (rc); } Modified: xfce4-mixer/trunk/xfce4-mixer/main.c === --- xfce4-mixer/trunk/xfce4-mixer/main.c2008-07-16 23:14:49 UTC (rev 27322) +++ xfce4-mixer/trunk/xfce4-mixer/main.c2008-07-17 00:22:45 UTC (rev 27323) @@ -99,5 +99,8 @@ /* Enter the GTK+ main loop */ gtk_main (); + /* Destroy the window */ + gtk_widget_destroy (window); + return EXIT_SUCCESS; } Modified: xfce4-mixer/trunk/xfce4-mixer/xfce-mixer-window.c === --- xfce4-mixer/trunk/xfce4-mixer/xfce-mixer-window.c 2008-07-16 23:14:49 UTC (rev 27322) +++ xfce4-mixer/trunk/xfce4-mixer/xfce-mixer-window.c 2008-07-17 00:22:45 UTC (rev 27323) @@ -224,6 +224,8 @@ gtk_container_add (GTK_CONTAINER (hbox), window->soundcard_combo); gtk_widget_show (window->soundcard_combo); + g_free (active_card); + window->mixer_frame = gtk_frame_new (NULL); gtk_frame_set_shadow_type (GTK_FRAME (window->mixer_frame), GTK_SHADOW_NONE); gtk_container_set_border_width (GTK_CONTAINER (window->mixer_frame), 6); ___ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] r27321 - xfprint/trunk/po
Author: alnokta Date: 2008-07-16 23:12:36 + (Wed, 16 Jul 2008) New Revision: 27321 Modified: xfprint/trunk/po/ar.po Log: Update Arabic translations Modified: xfprint/trunk/po/ar.po === --- xfprint/trunk/po/ar.po 2008-07-16 23:04:27 UTC (rev 27320) +++ xfprint/trunk/po/ar.po 2008-07-16 23:12:36 UTC (rev 27321) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: xfprint\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2006-05-14 15:26+0200\n" +"POT-Creation-Date: 2007-01-20 18:56+0100\n" "PO-Revision-Date: 2007-01-24 21:13+0200\n" "Last-Translator: Ahmad Farghal <[EMAIL PROTECTED]>\n" "Language-Team: Arabeyes Translation & Documentation <[EMAIL PROTECTED]>\n" ___ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] r27322 - in xfce4-settings/trunk: . dialogs/accessibility-settings dialogs/appearance-settings dialogs/display-settings dialogs/keyboard-settings dialogs/mouse-settings
Author: jannis Date: 2008-07-16 23:14:49 + (Wed, 16 Jul 2008) New Revision: 27322 Modified: xfce4-settings/trunk/ChangeLog xfce4-settings/trunk/dialogs/accessibility-settings/accessibility-dialog.glade xfce4-settings/trunk/dialogs/accessibility-settings/main.c xfce4-settings/trunk/dialogs/appearance-settings/appearance-dialog.glade xfce4-settings/trunk/dialogs/display-settings/display-dialog.glade xfce4-settings/trunk/dialogs/keyboard-settings/keyboard-dialog.glade xfce4-settings/trunk/dialogs/keyboard-settings/main.c xfce4-settings/trunk/dialogs/mouse-settings/mouse-dialog.glade Log: * dialogs/accessibility-settings/accessibility-dialog.glade, dialogs/appearance-settings/appearance-dialog.glade, dialogs/display-settings/display-dialog.glade, dialogs/keyboard-settings/keyboard-dialog.glade, dialogs/mouse-settings/mouse-dialog.glade: Make all dialogs use consistent borders/paddings/distances etc. again. Please keep it this way when adding new dialogs/widgets. * dialogs/accesibility-settings/main.c, dialogs/keyboard-settings/main.c: Destroy GladeXML after the dialog is destroyed. Modified: xfce4-settings/trunk/ChangeLog === --- xfce4-settings/trunk/ChangeLog 2008-07-16 23:12:36 UTC (rev 27321) +++ xfce4-settings/trunk/ChangeLog 2008-07-16 23:14:49 UTC (rev 27322) @@ -1,3 +1,16 @@ +2008-07-17 Jannis Pohlmann <[EMAIL PROTECTED]> + + * dialogs/accessibility-settings/accessibility-dialog.glade, + dialogs/appearance-settings/appearance-dialog.glade, + dialogs/display-settings/display-dialog.glade, + dialogs/keyboard-settings/keyboard-dialog.glade, + dialogs/mouse-settings/mouse-dialog.glade: Make all dialogs use + consistent borders/paddings/distances etc. again. Please keep it + this way when adding new dialogs/widgets. + * dialogs/accesibility-settings/main.c, + dialogs/keyboard-settings/main.c: Destroy GladeXML after the dialog + is destroyed. + 2008-07-16 Nick Schermer <[EMAIL PROTECTED]> * Mv xfce4-settings-helper/xkb.* xfce4-settings-helper/keyboards.*: Modified: xfce4-settings/trunk/dialogs/accessibility-settings/accessibility-dialog.glade === --- xfce4-settings/trunk/dialogs/accessibility-settings/accessibility-dialog.glade 2008-07-16 23:12:36 UTC (rev 27321) +++ xfce4-settings/trunk/dialogs/accessibility-settings/accessibility-dialog.glade 2008-07-16 23:14:49 UTC (rev 27322) @@ -1,6 +1,6 @@ - + @@ -183,7 +183,7 @@ True -6 +2 True @@ -309,7 +309,7 @@ True -6 +2 True @@ -453,7 +453,7 @@ True -6 +2 True @@ -524,7 +524,7 @@ True -6 +2 True @@ -596,7 +596,7 @@ True -6 +2 True @@ -668,7 +668,7 @@ True -6 +2
[Xfce4-commits] r27318 - in xfce4-settings/trunk: . xfce4-settings-helper
Author: jannis Date: 2008-07-16 19:59:26 + (Wed, 16 Jul 2008) New Revision: 27318 Modified: xfce4-settings/trunk/ChangeLog xfce4-settings/trunk/xfce4-settings-helper/accessx.c xfce4-settings/trunk/xfce4-settings-helper/xkb.c Log: * xfce4-settings-helper/accessx.c, xfce4-settings-helper/xkb.c: Call XkbFreeControls prior to XkbFree. This should fix two memory leaks and hopefully doesn't break anything. Modified: xfce4-settings/trunk/ChangeLog === --- xfce4-settings/trunk/ChangeLog 2008-07-16 19:48:55 UTC (rev 27317) +++ xfce4-settings/trunk/ChangeLog 2008-07-16 19:59:26 UTC (rev 27318) @@ -1,5 +1,11 @@ 2008-07-16 Jannis Pohlmann <[EMAIL PROTECTED]> + * xfce4-settings-helper/accessx.c, xfce4-settings-helper/xkb.c: Call + XkbFreeControls prior to XkbFree. This should fix two memory leaks + and hopefully doesn't break anything. + +2008-07-16 Jannis Pohlmann <[EMAIL PROTECTED]> + * dialogs/keyboard-settings/main.c: Save property when a new shortcut is created. Modified: xfce4-settings/trunk/xfce4-settings-helper/accessx.c === --- xfce4-settings/trunk/xfce4-settings-helper/accessx.c2008-07-16 19:48:55 UTC (rev 27317) +++ xfce4-settings/trunk/xfce4-settings-helper/accessx.c2008-07-16 19:59:26 UTC (rev 27318) @@ -245,6 +245,7 @@ XkbSetControls (GDK_DISPLAY (), XkbControlsEnabledMask | XkbStickyKeysMask | XkbBounceKeysMask | XkbSlowKeysMask | XkbMouseKeysMask, xkb); /* free the structure */ +XkbFreeControls (xkb, XkbAllControlsMask, True); XFree (xkb); /* flush errors and pop trap */ Modified: xfce4-settings/trunk/xfce4-settings-helper/xkb.c === --- xfce4-settings/trunk/xfce4-settings-helper/xkb.c2008-07-16 19:48:55 UTC (rev 27317) +++ xfce4-settings/trunk/xfce4-settings-helper/xkb.c2008-07-16 19:59:26 UTC (rev 27318) @@ -211,6 +211,7 @@ XkbSetControls (GDK_DISPLAY (), XkbRepeatKeysMask, xkb); /* cleanup */ +XkbFreeControls (xkb, XkbRepeatKeysMask, True); XFree (xkb); } ___ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] r27317 - xfce4-settings/trunk/dialogs/keyboard-settings
Author: jannis Date: 2008-07-16 19:48:55 + (Wed, 16 Jul 2008) New Revision: 27317 Modified: xfce4-settings/trunk/dialogs/keyboard-settings/shortcut-dialog.c Log: Remove debug message. Modified: xfce4-settings/trunk/dialogs/keyboard-settings/shortcut-dialog.c === --- xfce4-settings/trunk/dialogs/keyboard-settings/shortcut-dialog.c 2008-07-16 19:45:04 UTC (rev 27316) +++ xfce4-settings/trunk/dialogs/keyboard-settings/shortcut-dialog.c 2008-07-16 19:48:55 UTC (rev 27317) @@ -313,8 +313,6 @@ /* Let 'validate-shortcut' listeners decide whether this shortcut is ok or not */ g_signal_emit_by_name (dialog, "validate-shortcut", shortcut, &shortcut_accepted); - g_message ("shortcut accepted: %s", shortcut_accepted ? "yes" : "no"); - /* Check if the shortcut was accepted */ if (G_LIKELY (shortcut_accepted)) { ___ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] r27316 - xfce4-settings/trunk
Author: jannis Date: 2008-07-16 19:45:04 + (Wed, 16 Jul 2008) New Revision: 27316 Modified: xfce4-settings/trunk/TODO Log: Update TODO. Keyboard settings are finished (more or less). Modified: xfce4-settings/trunk/TODO === --- xfce4-settings/trunk/TODO 2008-07-16 19:44:27 UTC (rev 27315) +++ xfce4-settings/trunk/TODO 2008-07-16 19:45:04 UTC (rev 27316) @@ -1,8 +1,6 @@ Keyboard settings (Jannis) - * Make xfce4-settings-helper keyboard code refresh itself when a -shortcut is added/removed/changed. (* Not before the 4.6 alpha: Maybe add support for keyboard themes again) ___ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] r27315 - in xfce4-settings/trunk: . dialogs/keyboard-settings
Author: jannis Date: 2008-07-16 19:44:27 + (Wed, 16 Jul 2008) New Revision: 27315 Modified: xfce4-settings/trunk/ChangeLog xfce4-settings/trunk/dialogs/keyboard-settings/main.c Log: * dialogs/keyboard-settings/main.c: Save property when a new shortcut is created. * dialogs/keyboard-settings/main.c, dialogs/keyboard-settings/command-dialog.c: Fix compilation. Modified: xfce4-settings/trunk/ChangeLog === --- xfce4-settings/trunk/ChangeLog 2008-07-16 19:44:23 UTC (rev 27314) +++ xfce4-settings/trunk/ChangeLog 2008-07-16 19:44:27 UTC (rev 27315) @@ -1,7 +1,7 @@ -2008-07-16 Nick Schermer <[EMAIL PROTECTED]> +2008-07-16 Jannis Pohlmann <[EMAIL PROTECTED]> - * dialogs/keyboard-settings/main.c, - dialogs/keyboard-settings/command-dialog.c: Fix compilation. + * dialogs/keyboard-settings/main.c: Save property when a new shortcut + is created. 2008-07-16 Jannis Pohlmann <[EMAIL PROTECTED]> @@ -10,6 +10,11 @@ property is removed and grab keys when a new property is added. Update the shortcuts -> command hash table according to the changes. +2008-07-16 Nick Schermer <[EMAIL PROTECTED]> + + * dialogs/keyboard-settings/main.c, + dialogs/keyboard-settings/command-dialog.c: Fix compilation. + 2008-07-16 Jannis Pohlmann <[EMAIL PROTECTED]> * dialogs/keyboard-settings/keyboard-dialog.glade: In the last commit Modified: xfce4-settings/trunk/dialogs/keyboard-settings/main.c === --- xfce4-settings/trunk/dialogs/keyboard-settings/main.c 2008-07-16 19:44:23 UTC (rev 27314) +++ xfce4-settings/trunk/dialogs/keyboard-settings/main.c 2008-07-16 19:44:27 UTC (rev 27315) @@ -210,6 +210,7 @@ const gchar *shortcut = NULL; gboolean finished = FALSE; gchar*command = NULL; + gchar*property; gint response; /* Create command dialog */ @@ -258,6 +259,11 @@ /* Set row values */ gtk_list_store_set (GTK_LIST_STORE (model), &iter, SHORTCUT_COLUMN, shortcut, ACTION_COLUMN, command, -1); + + /* Save the new shortcut to xfconf */ + property = g_strdup_printf ("/%s", shortcut); + xfconf_channel_set_array (kbd_channel, property, G_TYPE_STRING, "execute", G_TYPE_STRING, command, G_TYPE_INVALID); + g_free (property); } /* Destroy the shortcut dialog */ @@ -326,53 +332,7 @@ } -#if 0 static void -keyboard_settings_shortcut_action_edited (GtkTreeView *tree_view, - gchar *path, - gchar *new_text) - -{ - GtkTreeModel *model; - GtkTreeIteriter; - gchar *shortcut; - gchar *old_text; - gchar *property_name; - - /* Get tree model */ - model = gtk_tree_view_get_model (tree_view); - - /* Get iter for the edited row */ - if (G_LIKELY (gtk_tree_model_get_iter_from_string (model, &iter, path))) -{ - /* Read row values */ - gtk_tree_model_get (model, &iter, SHORTCUT_COLUMN, &shortcut, ACTION_COLUMN, &old_text, -1); - - /* Check whether anything has changed at all */ - if (G_LIKELY (g_utf8_collate (old_text, new_text) != 0)) -{ - /* Upate row data with the new text */ - gtk_list_store_set (GTK_LIST_STORE (model), &iter, ACTION_COLUMN, new_text, -1); - - /* Build xfconf property name */ - property_name = g_strdup_printf ("/%s", shortcut); - - /* Save new shortcut settings */ - xfconf_channel_set_array (kbd_channel, property_name, G_TYPE_STRING, "execute", G_TYPE_STRING, new_text, G_TYPE_INVALID); - - /* Free property name */ - g_free (property_name); -} - - /* Free strings */ - g_free (shortcut); - g_free (old_text); -} -} -#endif - - -static void keyboard_settings_edit_shortcut (GtkTreeView *tree_view, GtkTreePath *path) { ___ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] r27314 - in xfce4-settings/trunk: . xfce4-settings-helper
Author: jannis Date: 2008-07-16 19:44:23 + (Wed, 16 Jul 2008) New Revision: 27314 Modified: xfce4-settings/trunk/ChangeLog xfce4-settings/trunk/xfce4-settings-helper/keyboard-shortcuts.c Log: * xfce4-settings-helper/keyboard-shortcuts.c: Connect to the "property-changed" signal of the XfconfChannel. Ungrab keys when a property is removed and grab keys when a new property is added. Update the shortcuts -> command hash table according to the changes. Modified: xfce4-settings/trunk/ChangeLog === --- xfce4-settings/trunk/ChangeLog 2008-07-16 17:45:40 UTC (rev 27313) +++ xfce4-settings/trunk/ChangeLog 2008-07-16 19:44:23 UTC (rev 27314) @@ -5,6 +5,13 @@ 2008-07-16 Jannis Pohlmann <[EMAIL PROTECTED]> + * xfce4-settings-helper/keyboard-shortcuts.c: Connect to the + "property-changed" signal of the XfconfChannel. Ungrab keys when a + property is removed and grab keys when a new property is added. + Update the shortcuts -> command hash table according to the changes. + +2008-07-16 Jannis Pohlmann <[EMAIL PROTECTED]> + * dialogs/keyboard-settings/keyboard-dialog.glade: In the last commit I forgot to mention that I've removed the keyboard theme stuff from the dialog because this would be too complicated to implement before Modified: xfce4-settings/trunk/xfce4-settings-helper/keyboard-shortcuts.c === --- xfce4-settings/trunk/xfce4-settings-helper/keyboard-shortcuts.c 2008-07-16 17:45:40 UTC (rev 27313) +++ xfce4-settings/trunk/xfce4-settings-helper/keyboard-shortcuts.c 2008-07-16 19:44:23 UTC (rev 27314) @@ -76,7 +76,7 @@ const GValue *value, XfceKeyboardShortcutsHelper *helper); static gbooleanxfce_keyboard_shortcuts_helper_grab_shortcut (XfceKeyboardShortcutsHelper *helper, -const char *shortcut, +const gchar *shortcut, gboolean grab); static gbooleanxfce_keyboard_shortcuts_helper_parse_shortcut (XfceKeyboardShortcutsHelper *helper, GdkDisplay *display, @@ -93,9 +93,19 @@ gboolean grab); static voidxfce_keyboard_shortcuts_helper_handle_key_press (XfceKeyboardShortcutsHelper *helper, XKeyEvent*xevent); +static voidxfce_keyboard_shortcuts_helper_property_changed (XfconfChannel*channel, +gchar *property, +GValue *value, + XfceKeyboardShortcutsHelper *helper); +static gbooleanxfce_keyboard_shortcuts_helper_extract_values (XfceKeyboardShortcutsHelper *helper, +const gchar *key, +const GValue *value, +gchar **shortcut, +gchar **action); + struct _XfceKeyboardShortcutsHelperClass { GObjectClass __parent__; @@ -192,6 +202,9 @@ } xfce_keyboard_shortcuts_helper_add_filter (helper); + + /* Be notified of property changes */ + g_signal_connect (helper->channel, "property-changed", G_CALLBACK (xfce_keyboard_shortcuts_helper_property_changed), helper); } @@ -316,48 +329,27 @@ const GValue *value, XfceKeyboardShortcutsHelper *helper) { - const GPtrArray *array; - const GValue*type_value; - const GValue*action_value; - const gchar *type; - const gchar *action; + gchar *shortcut; + gchar *action; g_return_if_fail (XFCE_IS_KEYBOARD_SHORTCUTS_HELPER (helper)); + g_return_if_fail (G_IS_VALUE (value)); - /* MAke s
[Xfce4-commits] r27313 - in xfce4-settings/trunk: . dialogs/keyboard-settings
Author: nick Date: 2008-07-16 17:45:40 + (Wed, 16 Jul 2008) New Revision: 27313 Modified: xfce4-settings/trunk/ChangeLog xfce4-settings/trunk/dialogs/keyboard-settings/command-dialog.c xfce4-settings/trunk/dialogs/keyboard-settings/main.c Log: * dialogs/keyboard-settings/main.c, dialogs/keyboard-settings/command-dialog.c: Fix compilation. Modified: xfce4-settings/trunk/ChangeLog === --- xfce4-settings/trunk/ChangeLog 2008-07-16 17:37:51 UTC (rev 27312) +++ xfce4-settings/trunk/ChangeLog 2008-07-16 17:45:40 UTC (rev 27313) @@ -1,3 +1,8 @@ +2008-07-16 Nick Schermer <[EMAIL PROTECTED]> + + * dialogs/keyboard-settings/main.c, + dialogs/keyboard-settings/command-dialog.c: Fix compilation. + 2008-07-16 Jannis Pohlmann <[EMAIL PROTECTED]> * dialogs/keyboard-settings/keyboard-dialog.glade: In the last commit Modified: xfce4-settings/trunk/dialogs/keyboard-settings/command-dialog.c === --- xfce4-settings/trunk/dialogs/keyboard-settings/command-dialog.c 2008-07-16 17:37:51 UTC (rev 27312) +++ xfce4-settings/trunk/dialogs/keyboard-settings/command-dialog.c 2008-07-16 17:45:40 UTC (rev 27313) @@ -125,8 +125,6 @@ static void command_dialog_finalize (GObject *object) { - CommandDialog *dialog = COMMAND_DIALOG (object); - (*G_OBJECT_CLASS (command_dialog_parent_class)->finalize) (object); } @@ -153,10 +151,7 @@ const gchar *action) { GtkWidget *button; - GtkWidget *vbox; GtkWidget *hbox; - GtkWidget *image; - GtkWidget *label; gchar *text; /* Set dialog title and icon */ Modified: xfce4-settings/trunk/dialogs/keyboard-settings/main.c === --- xfce4-settings/trunk/dialogs/keyboard-settings/main.c 2008-07-16 17:37:51 UTC (rev 27312) +++ xfce4-settings/trunk/dialogs/keyboard-settings/main.c 2008-07-16 17:45:40 UTC (rev 27313) @@ -326,7 +326,7 @@ } - +#if 0 static void keyboard_settings_shortcut_action_edited (GtkTreeView *tree_view, gchar *path, @@ -369,9 +369,9 @@ g_free (old_text); } } +#endif - static void keyboard_settings_edit_shortcut (GtkTreeView *tree_view, GtkTreePath *path) ___ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] r27312 - in libxfce4ui/trunk: . libxfce4ui
Author: nick Date: 2008-07-16 17:37:51 + (Wed, 16 Jul 2008) New Revision: 27312 Modified: libxfce4ui/trunk/TODO libxfce4ui/trunk/libxfce4ui/Makefile.am Log: * Remove single includes defines (Bug #4233). * Update TODO. Modified: libxfce4ui/trunk/TODO === --- libxfce4ui/trunk/TODO 2008-07-16 11:52:06 UTC (rev 27311) +++ libxfce4ui/trunk/TODO 2008-07-16 17:37:51 UTC (rev 27312) @@ -1 +1,5 @@ - + * Implement the GtkBuildable interface into XfceTitelDialog + and add the needed code for GtkBuilder and Glade 3.5 to + recognize it. + * We still need an API review of all developers so everybody + is happy with the result!! Modified: libxfce4ui/trunk/libxfce4ui/Makefile.am === --- libxfce4ui/trunk/libxfce4ui/Makefile.am 2008-07-16 11:52:06 UTC (rev 27311) +++ libxfce4ui/trunk/libxfce4ui/Makefile.am 2008-07-16 17:37:51 UTC (rev 27312) @@ -10,12 +10,8 @@ -DLIBXFCE4UI_VERSION_API=\"$(LIBXFCE4UI_VERSION_API)\" \ -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \ -DG_DISABLE_DEPRECATED \ - -DG_DISABLE_SINGLE_INCLUDES \ -DGTK_DISABLE_DEPRECATED\ - -DGTK_DISABLE_SINGLE_INCLUDES \ -DGDK_DISABLE_DEPRECATED\ - -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES\ - -DPANGO_DISABLE_SINGLE_INCLUDES \ $(PLATFORM_CPPFLAGS) lib_LTLIBRARIES = libxfce4ui-1.la ___ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] r27311 - xfconf/trunk
Author: stephan Date: 2008-07-16 11:52:06 + (Wed, 16 Jul 2008) New Revision: 27311 Modified: xfconf/trunk/configure.ac.in Log: Fixed bug #4232, xfconf compiles again. Modified: xfconf/trunk/configure.ac.in === --- xfconf/trunk/configure.ac.in2008-07-16 11:41:19 UTC (rev 27310) +++ xfconf/trunk/configure.ac.in2008-07-16 11:52:06 UTC (rev 27311) @@ -1,229 +1,229 @@ -dnl configure.ac -dnl -dnl xfconf - dbus-based configuration daemon and library for xfce -dnl -dnl Copyright (c) 2007 Brian Tarricone <[EMAIL PROTECTED]> -dnl - -dnl version info -m4_define([libxfconf_verinfo], [0:0:0]) -m4_define([libxfconf_version_api], [0]) -m4_define([libxfconf_gtk_verinfo], [0:0:0]) -m4_define([libxfconf_gtk_version_api], [0]) -m4_define([xfconf_version_major], [0]) -m4_define([xfconf_version_minor], [1]) -m4_define([xfconf_version_micro], [0]) -m4_define([xfconf_version_build], [EMAIL PROTECTED]@]) -m4_define([xfconf_version_tag], [svn]) -m4_define([xfconf_version], [xfconf_version_major().xfconf_version_minor().xfconf_version_micro()ifelse(xfconf_version_tag(), [svn], [xfconf_version_tag()-xfconf_version_build()], [xfconf_version_tag()])]) - -dnl init autoconf -AC_INIT([xfconf], [xfconf_version], [EMAIL PROTECTED]) -AC_PREREQ([2.50]) - -dnl init automake -AM_INIT_AUTOMAKE() -AM_CONFIG_HEADER([config.h]) -dnl AC_DEFINE([WEBSITE], ["http://spuriousinterrupt.org/projects/xfconf";], -dnl [Location of the xfconf website]) -AM_MAINTAINER_MODE - -dnl check for UNIX variants -AC_AIX -AC_ISC_POSIX -AC_MINIX - -dnl check for basic programs -AC_PROG_CC -AM_PROG_CC_C_O -AC_PROG_INSTALL -AC_PROG_LIBTOOL -dnl AC_PROG_INTLTOOL([0.31], [no-xml]) -dnl AC_PROG_MAKE_SET -AC_CHECK_PROGS([PERL], [perl5 perl]) - -dnl check for standard header files -AC_HEADER_STDC -AC_CHECK_HEADERS([errno.h fcntl.h grp.h \ - signal.h stdlib.h string.h \ - sys/stat.h sys/time.h sys/types.h sys/wait.h \ - unistd.h]) -dnl AC_CHECK_FUNCS([fdwalk getdtablesize setsid sysconf]) - -dnl version information -XFCONF_VERSION=xfconf_version -LIBXFCONF_VERSION_API=libxfconf_version_api -LIBXFCONF_VERINFO=libxfconf_verinfo -LIBXFCONF_GTK_VERSION_API=libxfconf_gtk_version_api -LIBXFCONF_GTK_VERINFO=libxfconf_gtk_verinfo -AC_SUBST(XFCONF_VERSION) -AC_SUBST(LIBXFCONF_VERSION_API) -AC_SUBST(LIBXFCONF_VERINFO) -AC_SUBST(LIBXFCONF_GTK_VERSION_API) -AC_SUBST(LIBXFCONF_GTK_VERINFO) - -dnl Check for i18n support -XDT_I18N([EMAIL PROTECTED]@]) - -dnl Check for X11 installed -dnl XDT_CHECK_LIBX11_REQUIRE - -dnl required -XDT_CHECK_PACKAGE([GLIB], [gobject-2.0], [2.8.0]) -XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.4.0]) -dnl XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.4.0]) -XDT_CHECK_PACKAGE([DBUS], [dbus-1], [1.0.0]) -XDT_CHECK_PACKAGE([DBUS_GLIB], [dbus-glib-1], [0.72]) - -dnl make xsettings daemon optional (so gtk dep is optional) -AC_ARG_ENABLE([xsettings-daemon], - [AC_HELP_STRING([--disable-xsettings-daemon], - [Don't build the XSETTINGS daemon (default=yes)])], - [build_xfsettingsd=$enableval], - [build_xfsettingsd=yes]) -AM_CONDITIONAL([BUILD_XFSETTINGSD], [test "x$build_xfsettingsd" = "xyes"]) - -dnl make xfconf-gtk lib optional (so gtk dep is optional) -AC_ARG_ENABLE([xfconf-gtk], - [AC_HELP_STRING([--disable-xfconf-gtk], - [Don't build xfconf-gtk convenience library (default=yes)])], - [build_xfconf_gtk=$enableval], - [build_xfconf_gtk=yes]) -AM_CONDITIONAL([BUILD_XFCONF_GTK], [test "x$build_xfconf_gtk" = "xyes"]) - -if test "x$build_xfsettingsd" = "xyes" -o "x$build_xfconf_gtk" = "xyes"; then -XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.10.0]) -fi - -dnl -dnl Check for XKB (xkb-settings) *** -dnl -AC_ARG_ENABLE([xkb], -AC_HELP_STRING([--enable-xkb], [try to use the XKB extension]) -AC_HELP_STRING([--disable-xkb], [don't try to use the XKB extension]), - [], [enable_xkb=yes]) -XKB_LIBS= -if test x"$enable_xkb" = x"yes"; then - AC_CHECK_LIB(Xext, XkbLibraryVersion, -[XKB_LIBS="-lXi" -AC_DEFINE([HAVE_XKB], [1], [Define if XInput is present])], -[],[$LIBX11_LIBS -lXi]) -fi -AC_SUBST([XKB_LIBS]) - -dnl check alignment for struct returns -AC_DEFUN([BT_GLIB_CHECK_ALIGNOF], -[ -saved_CFLAGS="$CFLAGS" -saved_LIBS="$LIBS" -CFLAGS="$CFLAGS $GLIB_CFLAGS" -LIBS="$LIBS $GLIB_LIBS" -AC_CHECK_ALIGNOF([$1], [#include ]) -CFLAGS="$saved_CFLAGS" -LIBS="$saved_LIBS" -]) -BT_GLIB_CHECK_ALIGNOF(guchar) -BT_GLIB_CHECK_ALIGNOF(gchar) -BT_GLIB_CHECK_ALIGNOF(guint16) -BT_GLIB_CHECK_ALIGNOF(gint16) -BT_GLIB_CHECK_ALIGNOF(guint32) -BT_GLIB_CHECK_ALIGNOF(gint32) -BT_GLIB_CHECK_ALIGNOF(guint64) -BT_GLIB_CHECK_ALIGNOF(gint64) -BT_GLIB_CHECK_ALIGNOF(gfloat) -BT_GLIB_CHECK_ALIGNOF(gdouble)
[Xfce4-commits] r27309 - xfce4-panel/trunk/panel
Author: jasper Date: 2008-07-16 08:56:28 + (Wed, 16 Jul 2008) New Revision: 27309 Modified: xfce4-panel/trunk/panel/panel-private.h xfce4-panel/trunk/panel/panel-properties.c Log: 64-bit fix: X properties should be gulong, not guint: opacity setting fixed. Modified: xfce4-panel/trunk/panel/panel-private.h === --- xfce4-panel/trunk/panel/panel-private.h 2008-07-16 00:39:15 UTC (rev 27308) +++ xfce4-panel/trunk/panel/panel-private.h 2008-07-16 08:56:28 UTC (rev 27309) @@ -62,8 +62,8 @@ XfcePanelWidthType full_width; ginttransparency; -guint opacity; -guint saved_opacity; +gulong opacity; +gulong saved_opacity; gintblock_autohide; ginthide_timeout; Modified: xfce4-panel/trunk/panel/panel-properties.c === --- xfce4-panel/trunk/panel/panel-properties.c 2008-07-16 00:39:15 UTC (rev 27308) +++ xfce4-panel/trunk/panel/panel-properties.c 2008-07-16 08:56:28 UTC (rev 27309) @@ -627,7 +627,7 @@ gboolean transparent) { PanelPrivate *priv; -guint opacity; +gulongopacity; if (!GTK_WIDGET (panel)->window) return; ___ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits