[Xfce4-commits] r27187 - xfce4-settings/trunk/dialogs/mouse-settings

2008-06-29 Thread Stephan Arts
Author: stephan
Date: 2008-06-29 21:49:32 + (Sun, 29 Jun 2008)
New Revision: 27187

Modified:
   xfce4-settings/trunk/dialogs/mouse-settings/main.c
Log:
Fix credits



Modified: xfce4-settings/trunk/dialogs/mouse-settings/main.c
===
--- xfce4-settings/trunk/dialogs/mouse-settings/main.c  2008-06-29 21:29:20 UTC 
(rev 27186)
+++ xfce4-settings/trunk/dialogs/mouse-settings/main.c  2008-06-29 21:49:32 UTC 
(rev 27187)
@@ -1,6 +1,7 @@
 /*
  *  Copyright (c) 2008 Stephan Arts <[EMAIL PROTECTED]>
- *  Copyright (c) 2008 Nick Schermer 
+ *  Copyright (c) 2008 Nick Schermer <[EMAIL PROTECTED]>
+ *  Copyright (c) 2008 Mike Massonnet <[EMAIL PROTECTED]>
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by

___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] r27186 - in xfconf/trunk: common xfconf xfconf-query xfconfd xfsettingsd

2008-06-29 Thread Stephan Arts
Author: stephan
Date: 2008-06-29 21:29:20 + (Sun, 29 Jun 2008)
New Revision: 27186

Modified:
   xfconf/trunk/common/xfconf-types.c
   xfconf/trunk/xfconf-query/main.c
   xfconf/trunk/xfconf/xfconf-channel.c
   xfconf/trunk/xfconf/xfconf.c
   xfconf/trunk/xfconfd/main.c
   xfconf/trunk/xfconfd/xfconf-backend-perchannel-xml.c
   xfconf/trunk/xfsettingsd/registry.c
Log:
Applied patch from Nick (Bug #4184)
Fixes compiler-warnings
Fixes XCursor Xrdb issue



Modified: xfconf/trunk/common/xfconf-types.c
===
--- xfconf/trunk/common/xfconf-types.c  2008-06-29 21:13:45 UTC (rev 27185)
+++ xfconf/trunk/common/xfconf-types.c  2008-06-29 21:29:20 UTC (rev 27186)
@@ -86,7 +86,7 @@
 }
 xfconf_g_value_set_uint16(dest_value, (guint16)dest);
 } else if(G_VALUE_TYPE(dest_value) == XFCONF_TYPE_INT16) {
-if(dest > SHRT_MAX || dest < SHRT_MIN) {
+if(dest > (guint64) SHRT_MAX || dest < (guint64) SHRT_MIN) {
 g_warning("Converting type \"%s\" to \"%s\" results in overflow",
   G_VALUE_TYPE_NAME(src_value),
   G_VALUE_TYPE_NAME(dest_value));

Modified: xfconf/trunk/xfconf/xfconf-channel.c
===
--- xfconf/trunk/xfconf/xfconf-channel.c2008-06-29 21:13:45 UTC (rev 
27185)
+++ xfconf/trunk/xfconf/xfconf-channel.c2008-06-29 21:29:20 UTC (rev 
27186)
@@ -309,7 +309,7 @@
 xfconf_fixup_16bit_ints(GPtrArray *arr)
 {
 GPtrArray *arr_new = NULL;
-gint i;
+guint i;
 
 for(i = 0; i < arr->len; ++i) {
 GValue *v = g_ptr_array_index(arr, i);
@@ -494,7 +494,7 @@
 {
 gchar **values = NULL;
 GPtrArray *arr;
-gint i;
+guint i;
 
 g_return_val_if_fail(XFCONF_IS_CHANNEL(channel) && property, NULL);
 
@@ -1073,7 +1073,7 @@
 GPtrArray *arr = NULL;
 GType cur_value_type;
 GValue *val;
-gint i;
+guint i;
 
 arr = xfconf_channel_get_arrayv(channel, property);
 if(!arr)
@@ -1528,7 +1528,7 @@
 {
 GType cur_member_type;
 GType *member_types;
-gint n_members;
+guint n_members;
 gsize cur_size = 5;  /* FIXME: arbitrary... */
 gboolean ret;
 
@@ -1772,7 +1772,7 @@
 {
 GType cur_member_type;
 GType *member_types;
-gint n_members;
+guint n_members;
 gsize cur_size = 5;  /* FIXME: arbitrary... */
 gboolean ret;
 

Modified: xfconf/trunk/xfconf/xfconf.c
===
--- xfconf/trunk/xfconf/xfconf.c2008-06-29 21:13:45 UTC (rev 27185)
+++ xfconf/trunk/xfconf/xfconf.c2008-06-29 21:29:20 UTC (rev 27186)
@@ -238,7 +238,7 @@
 void
 xfconf_array_free(GPtrArray *arr)
 {
-gint i;
+guint i;
 
 if(!arr)
 return;

Modified: xfconf/trunk/xfconf-query/main.c
===
--- xfconf/trunk/xfconf-query/main.c2008-06-29 21:13:45 UTC (rev 27185)
+++ xfconf/trunk/xfconf-query/main.c2008-06-29 21:29:20 UTC (rev 27186)
@@ -59,7 +59,7 @@
 gint *size = user_data;
 gchar *property_name = (gchar *)key;
 
-if (strlen(property_name) > *size)
+if ((gint) strlen(property_name) > *size)
 *size = strlen(property_name);
 
 }
@@ -208,7 +208,7 @@
 else
 {
 GPtrArray *arr = g_value_get_boxed(&value);
-gint i;
+guint i;
 
 g_print(_("Value is an array with %d items:\n\n"), arr->len);
 

Modified: xfconf/trunk/xfconfd/main.c
===
--- xfconf/trunk/xfconfd/main.c 2008-06-29 21:13:45 UTC (rev 27185)
+++ xfconf/trunk/xfconfd/main.c 2008-06-29 21:29:20 UTC (rev 27186)
@@ -62,6 +62,7 @@
 sighandler(int sig)
 {
 guint32 sigstate;
+gint avoid_gcc_warning;
 
 switch(sig) {
 case SIGUSR1:
@@ -73,7 +74,7 @@
 break;
 }
 
-write(signal_pipe[1], &sigstate, sizeof(sigstate));
+avoid_gcc_warning = write(signal_pipe[1], &sigstate, sizeof(sigstate));
 }
 
 static gboolean

Modified: xfconf/trunk/xfconfd/xfconf-backend-perchannel-xml.c
===
--- xfconf/trunk/xfconfd/xfconf-backend-perchannel-xml.c2008-06-29 
21:13:45 UTC (rev 27185)
+++ xfconf/trunk/xfconfd/xfconf-backend-perchannel-xml.c2008-06-29 
21:29:20 UTC (rev 27186)
@@ -882,7 +882,7 @@
 
 /* compare versions */
 p = strstr(version, ".");
-maj_ver_len = p ? p - version : strlen(version);
+maj_ver_len = p ? p - version : (gint) strlen(version);
 if(maj_ver_len != strlen(FILE_VERSION_MAJOR)
|| strncmp(version, FILE_VERSION_MAJOR, maj_ver_len))
 {
@@ -1478,7 +1478,7 @@
 *is_array = TRUE;
 } else if(XFCONF_

[Xfce4-commits] r27185 - in xfce4-settings/trunk: . dialogs/mouse-settings

2008-06-29 Thread Stephan Arts
Author: stephan
Date: 2008-06-29 21:13:45 + (Sun, 29 Jun 2008)
New Revision: 27185

Modified:
   xfce4-settings/trunk/configure.ac.in
   xfce4-settings/trunk/dialogs/mouse-settings/main.c
   xfce4-settings/trunk/dialogs/mouse-settings/mouse-dialog.glade
Log:
Applied patch from Nick to improve the mouse-dialog



Modified: xfce4-settings/trunk/configure.ac.in
===
--- xfce4-settings/trunk/configure.ac.in2008-06-29 19:03:57 UTC (rev 
27184)
+++ xfce4-settings/trunk/configure.ac.in2008-06-29 21:13:45 UTC (rev 
27185)
@@ -26,7 +26,7 @@
 
 Written for Xfce by Stephan Arts <[EMAIL PROTECTED]>.])
 
-AC_INIT([xfce4-settings], [xfce4_settings_version], [])
+AC_INIT([xfce4-settings], [xfce4_settings_version], 
[http://bugzilla.xfce.org/])
 AC_PREREQ([2.50])
 
 XFCE4_SETTINGS_VERSION=xfce4_settings_version
@@ -44,9 +44,10 @@
 dnl check for standard header files
 AC_PROG_CC
 AC_PROG_INTLTOOL([0.31], [no-xml])
-
 AC_HEADER_STDC
+AC_CHECK_HEADERS([string.h math.h stdio.h stdlib.h])
 
+
 dnl Check for i18n support
 XDT_I18N([EMAIL PROTECTED]@])
 

Modified: xfce4-settings/trunk/dialogs/mouse-settings/main.c
===
--- xfce4-settings/trunk/dialogs/mouse-settings/main.c  2008-06-29 19:03:57 UTC 
(rev 27184)
+++ xfce4-settings/trunk/dialogs/mouse-settings/main.c  2008-06-29 21:13:45 UTC 
(rev 27185)
@@ -1,5 +1,6 @@
 /*
  *  Copyright (c) 2008 Stephan Arts <[EMAIL PROTECTED]>
+ *  Copyright (c) 2008 Nick Schermer 
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -16,447 +17,562 @@
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
+#ifdef HAVE_CONFIG_H
 #include 
+#endif
+
+#ifdef HAVE_STDIO_H
+#include 
+#endif
+#ifdef HAVE_STDLIB_H
+#include 
+#endif
+#ifdef HAVE_STRING_H
 #include 
+#endif
+#ifdef HAVE_MATH_H
+#include 
+#endif
 
 #include 
 #include 
 
-#include 
-
-#if defined(GETTEXT_PACKAGE)
-#include 
-#else
-#include 
-#endif
-
 #include 
 #include 
+#include 
+#include 
+#include 
 
-#include 
-#include 
 #include "mouse-dialog_glade.h"
 
-static XfconfChannel *xsettings_channel;
 
-/* XDG? */
-static gchar *cursor_dirs[][2] = {
-{ "%s/.icons/", "HOME" },
-{ "%s/.themes/","HOME" },
-{ "/usr/share/cursors/xorg-x11/",   NULL },
-{ "/usr/share/cursors/xfree/",  NULL },
-{ "/usr/X11R6/lib/X11/icons/",  NULL },
-{ "/usr/Xorg/lib/X11/icons/",   NULL },
-{ "/usr/share/icons",   NULL },
-{ NULL, NULL }
-};
+/* settings */
+#define PREVIEW_ROWS(3)
+#define PREVIEW_COLUMNS (6)
+#define PREVIEW_SIZE(24)
+#define PREVIEW_SPACING (2)
 
-/* List from kde kcontrol */
-const static gchar *preview_filenames[] = {
-"left_ptr", "left_ptr_watch",   "watch",
"hand2",
-"question_arrow",   "sb_h_double_arrow","sb_v_double_arrow",
"bottom_left_corner",
-"bottom_right_corner",  "fleur","pirate",   
"cross",
-"X_cursor", "right_ptr","right_side",   
"right_tee",
-"sb_right_arrow",   "sb_right_tee", "base_arrow_down",  
"base_arrow_up",
-"bottom_side",  "bottom_tee",   "center_ptr",   
"circle",
-"dot",  "dot_box_mask", "dot_box_mask", 
"double_arrow",
-"draped_box",   "left_side","left_tee", 
"ll_angle",
-"top_side", "top_tee"
+
+
+/* treeview columns */
+enum
+{
+COLUMN_THEME_PIXBUF,
+COLUMN_THEME_PATH,
+COLUMN_THEME_NAME,
+COLUMN_THEME_REAL_NAME,
+COLUMN_THEME_COMMENT,
+N_THEME_COLUMNS
 };
-#define NUM_PER_COL (3)
-#define NUM_PREVIEW (6)
-#define PREVIEW_SIZE(24)
 
-enum {
-TLIST_THEME_NAME,
-TLIST_THEME_PATH,
-TLIST_NUM_COLUMNS
+
+
+/* icon names for the preview widget */
+static const gchar *preview_names[] = {
+"left_ptr","left_ptr_watch","watch", "hand2",
+"question_arrow",  "sb_h_double_arrow", "sb_v_double_arrow", 
"bottom_left_corner",
+"bottom_right_corner", "fleur", "pirate","cross",
+"X_cursor","right_ptr", "right_side",
"right_tee",
+"sb_right_arrow",  "sb_right_tee",  "base_arrow_down",   
"base_arrow_up",
+"bottom_side", "bottom_tee","center_ptr","circle",
+"dot", "dot_box_mask",  "dot_box_mask",  
"double_arrow",
+"draped_box",  "left_side", "left_tee",  
"ll_angle",
+"top_side","top_tee"
 };
 
-typedef struct {
-GtkWidget *slave;
-XfconfChannel *channel;
-} PropertyPair;
 
-gboolean version = FALSE;
 
-static GOpti

[Xfce4-commits] r27184 - in xfconf/trunk: . xfsettingsd

2008-06-29 Thread Stephan Arts
Author: stephan
Date: 2008-06-29 19:03:57 + (Sun, 29 Jun 2008)
New Revision: 27184

Removed:
   xfconf/trunk/xfsettingsd/accessx.c
   xfconf/trunk/xfsettingsd/accessx.h
Modified:
   xfconf/trunk/configure.ac.in
   xfconf/trunk/xfsettingsd/Makefile.am
   xfconf/trunk/xfsettingsd/main.c
Log:
Remove libnotify dependency and accessx-stuff
(was moved to xfce4-settings-helper)


Modified: xfconf/trunk/configure.ac.in
===
--- xfconf/trunk/configure.ac.in2008-06-29 18:52:08 UTC (rev 27183)
+++ xfconf/trunk/configure.ac.in2008-06-29 19:03:57 UTC (rev 27184)
@@ -93,7 +93,6 @@
 
 if test "x$build_xfsettingsd" = "xyes" -o "x$build_xfconf_gtk" = "xyes"; then
 XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.10.0])
-XDT_CHECK_PACKAGE([LIBNOTIFY], [libnotify], [0.1.3])
 fi
 
 dnl 

Modified: xfconf/trunk/xfsettingsd/Makefile.am
===
--- xfconf/trunk/xfsettingsd/Makefile.am2008-06-29 18:52:08 UTC (rev 
27183)
+++ xfconf/trunk/xfsettingsd/Makefile.am2008-06-29 19:03:57 UTC (rev 
27184)
@@ -4,8 +4,7 @@
 
 xfsettingsd_SOURCES = \
main.c \
-   registry.c registry.h \
-   accessx.c accessx.h
+   registry.c registry.h
 
 xfsettingsd_CFLAGS = \
$(GTK_CFLAGS) \

Deleted: xfconf/trunk/xfsettingsd/accessx.c

Deleted: xfconf/trunk/xfsettingsd/accessx.h

Modified: xfconf/trunk/xfsettingsd/main.c
===
--- xfconf/trunk/xfsettingsd/main.c 2008-06-29 18:52:08 UTC (rev 27183)
+++ xfconf/trunk/xfsettingsd/main.c 2008-06-29 19:03:57 UTC (rev 27184)
@@ -33,9 +33,7 @@
 
 #include 
 #include 
-#include 
 
-#include "accessx.h"
 #include "registry.h"
 
 #define XF_DEBUG(str) \
@@ -122,7 +120,7 @@
 GdkDisplay *gdpy;
 gint n_screens, screen;
 gboolean keep_running = FALSE;
-XfconfChannel *xsettings_channel, *accessx_channel;
+XfconfChannel *xsettings_channel;
 
 xfce_textdomain(GETTEXT_PACKAGE, LOCALEDIR, "UTF-8");
 
@@ -150,7 +148,6 @@
 }
 
 xsettings_channel = xfconf_channel_new("xsettings");
-accessx_channel = xfconf_channel_new("accessx");
 
 gdpy = gdk_display_get_default();
 n_screens = gdk_display_get_n_screens(gdpy);
@@ -198,10 +195,6 @@
 return 1;
 }
 
-notify_init("xfsettingsd");
-
-accessx_notification_init(accessx_channel);
-
 if(!debug) /* If not in debug mode, fork to background */
 {
 if(!fork())

___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] r27182 - in libxfce4util/trunk: . libxfce4util

2008-06-29 Thread Jannis Pohlmann
Author: jannis
Date: 2008-06-29 16:51:33 + (Sun, 29 Jun 2008)
New Revision: 27182

Modified:
   libxfce4util/trunk/ChangeLog
   libxfce4util/trunk/INSTALL
   libxfce4util/trunk/libxfce4util/xfce-resource.c
Log:
* libxfce4util/xfce-resource.c: Add _res_remove_trailing_slashes().
  It is used to support _res_remove_duplicates() in finding paths
  which appear multiple times but in fact refer to the same
  directory (like e.g. /usr/share/// and /usr/share). Use
  g_build_path() in g_resource_lookup() and g_resource_lookup_all()
  instead of concatenating with "%s/%s".

Modified: libxfce4util/trunk/ChangeLog
===
--- libxfce4util/trunk/ChangeLog2008-06-29 12:31:40 UTC (rev 27181)
+++ libxfce4util/trunk/ChangeLog2008-06-29 16:51:33 UTC (rev 27182)
@@ -1,3 +1,12 @@
+2008-06-29 Jannis Pohlmann <[EMAIL PROTECTED]>
+
+   * libxfce4util/xfce-resource.c: Add _res_remove_trailing_slashes().
+ It is used to support _res_remove_duplicates() in finding paths
+ which appear multiple times but in fact refer to the same
+ directory (like e.g. /usr/share/// and /usr/share). Use 
+ g_build_path() in g_resource_lookup() and g_resource_lookup_all()
+ instead of concatenating with "%s/%s".
+
 2007-12-17  Brian Tarricone <[EMAIL PROTECTED]>
 
 * Fix docs/ stuff to include new signal handling functionality.

Modified: libxfce4util/trunk/INSTALL
===
--- libxfce4util/trunk/INSTALL  2008-06-29 12:31:40 UTC (rev 27181)
+++ libxfce4util/trunk/INSTALL  2008-06-29 16:51:33 UTC (rev 27182)
@@ -2,7 +2,7 @@
 *
 
 Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
-2006 Free Software Foundation, Inc.
+2006, 2007 Free Software Foundation, Inc.
 
 This file is free documentation; the Free Software Foundation gives
 unlimited permission to copy, distribute and modify it.
@@ -67,6 +67,9 @@
  all sorts of other programs in order to regenerate files that came
  with the distribution.
 
+  6. Often, you can also type `make uninstall' to remove the installed
+ files again.
+
 Compilers and Options
 =
 

Modified: libxfce4util/trunk/libxfce4util/xfce-resource.c
===
--- libxfce4util/trunk/libxfce4util/xfce-resource.c 2008-06-29 12:31:40 UTC 
(rev 27181)
+++ libxfce4util/trunk/libxfce4util/xfce-resource.c 2008-06-29 16:51:33 UTC 
(rev 27182)
@@ -124,6 +124,43 @@
 
 
 
+static GList*
+_res_remove_trailing_slashes (GList *list)
+{
+  GList   *ll = NULL;
+  GList   *lp;
+  const gchar *path;
+  gint len;
+
+  for (lp = list; lp != NULL; lp = lp->next)
+{
+  path = (const gchar *) lp->data;
+  len = strlen (path);
+
+  while (len > 0 && G_IS_DIR_SEPARATOR (path[len-1]))
+--len;
+
+  if (len <= 0)
+{
+  /* A string with slashes only => root directory */
+  ll = g_list_append (ll, g_strdup ("/"));
+  g_free (lp->data);
+}
+  else if (len < strlen (path))
+{
+  ll = g_list_append (ll, g_strndup (path, len));
+  g_free (lp->data);
+}
+  else
+ll = g_list_append (ll, lp->data);
+}
+
+  g_list_free (list);
+  return ll;
+}
+
+
+
 static void
 _res_init (void)
 {
@@ -222,6 +259,15 @@
   _list[XFCE_RESOURCE_THEMES] = g_list_append 
(_list[XFCE_RESOURCE_THEMES], path);
 }
 
+  /* Remove trailing slashes */
+#define REMOVE_TRAILING_SLASHES(type) { _list[(type)] = 
_res_remove_trailing_slashes (_list[(type)]); }
+  REMOVE_TRAILING_SLASHES (XFCE_RESOURCE_DATA);
+  REMOVE_TRAILING_SLASHES (XFCE_RESOURCE_CONFIG);
+  REMOVE_TRAILING_SLASHES (XFCE_RESOURCE_CACHE);
+  REMOVE_TRAILING_SLASHES (XFCE_RESOURCE_ICONS);
+  REMOVE_TRAILING_SLASHES (XFCE_RESOURCE_THEMES);
+#undef REMOVE_TRAILING_SLASHES
+
   /* remove duplicates from the lists */
 #define REMOVE_DUPLICATES(type) { _list[(type)] = _res_remove_duplicates 
(_list[(type)]); }
   REMOVE_DUPLICATES (XFCE_RESOURCE_DATA);
@@ -425,7 +471,7 @@
   const gchar *filename)
 {
   GFileTest test;
-  gchar path[PATH_MAX];
+  gchar*path;
   GList*l;
 
   g_return_val_if_fail (TYPE_VALID (type), NULL);
@@ -440,10 +486,13 @@
 
   for (l = _list[type]; l != NULL; l = l->next)
 {
-  g_snprintf (path, PATH_MAX, "%s/%s", (const gchar *) l->data, filename);
 
+  path = g_build_path (G_DIR_SEPARATOR_S, (const gchar *) l->data, 
filename, NULL);
+
   if (g_file_test (path, test))
-return g_strdup (path);
+return path;
+  else
+g_free (path);
 }
 
   return NULL;
@@ -473,7 +522,7 @@
   const gchar *filename)
 {
   GFileTest test;
-  gchar path[PATH_MAX];
+  gchar*path;
   gchar   **paths;
   guint size;
  

[Xfce4-commits] r27181 - in xfce4-settings/trunk: . xfce4-settings-manager

2008-06-29 Thread Jannis Pohlmann
Author: jannis
Date: 2008-06-29 12:31:40 + (Sun, 29 Jun 2008)
New Revision: 27181

Modified:
   xfce4-settings/trunk/ChangeLog
   xfce4-settings/trunk/xfce4-settings-manager/xfce-settings-manager-dialog.c
Log:
* xfce4-settings-manager/xfce-settings-manager-dialog.c:
  Add 6px border to the scrolled window in order to align it
  with the dialog buttons.
* xfce4-settings-manager/xfce-settings-manager-dialog.c: Dialog

Modified: xfce4-settings/trunk/ChangeLog
===
--- xfce4-settings/trunk/ChangeLog  2008-06-29 12:31:36 UTC (rev 27180)
+++ xfce4-settings/trunk/ChangeLog  2008-06-29 12:31:40 UTC (rev 27181)
@@ -1,5 +1,11 @@
 2008-06-29 Jannis Pohlmann <[EMAIL PROTECTED]>
 
+   * xfce4-settings-manager/xfce-settings-manager-dialog.c: 
+ Add 6px border to the scrolled window in order to align it
+ with the dialog buttons.
+
+2008-06-29 Jannis Pohlmann <[EMAIL PROTECTED]>
+
* dialogs/accessibility-settings/accessibility-dialog.glade,
  dialogs/appearance-settings/appearance-dialog.glade,
  dialogs/keyboard-settings/keyboard-dialog.glade,
@@ -10,7 +16,7 @@
 
 2008-06-29 Nick Schermer <[EMAIL PROTECTED]>
 
-   * xfce4-settings-manager/xfce-settings-manager-dialog.c Dialog
+   * xfce4-settings-manager/xfce-settings-manager-dialog.c: Dialog
  default size is 600x400px; Changed window icon name to
  preferences-desktop instead of xfce4-settings, since that's
  the default icon name; Don't show the dialog separator.

Modified: 
xfce4-settings/trunk/xfce4-settings-manager/xfce-settings-manager-dialog.c
===
--- xfce4-settings/trunk/xfce4-settings-manager/xfce-settings-manager-dialog.c  
2008-06-29 12:31:36 UTC (rev 27180)
+++ xfce4-settings/trunk/xfce4-settings-manager/xfce-settings-manager-dialog.c  
2008-06-29 12:31:40 UTC (rev 27181)
@@ -106,6 +106,7 @@
 gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(sw), 
GTK_SHADOW_IN);
 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw),
GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
+gtk_container_set_border_width (GTK_CONTAINER (sw), 6);
 gtk_widget_show(sw);
 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), sw, TRUE, TRUE, 0);
 

___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] r27180 - in xfce4-settings/trunk: . dialogs/accessibility-settings dialogs/appearance-settings dialogs/keyboard-settings dialogs/mouse-settings

2008-06-29 Thread Jannis Pohlmann
Author: jannis
Date: 2008-06-29 12:31:36 + (Sun, 29 Jun 2008)
New Revision: 27180

Modified:
   xfce4-settings/trunk/ChangeLog
   
xfce4-settings/trunk/dialogs/accessibility-settings/accessibility-dialog.glade
   xfce4-settings/trunk/dialogs/appearance-settings/appearance-dialog.glade
   xfce4-settings/trunk/dialogs/keyboard-settings/keyboard-dialog.glade
   xfce4-settings/trunk/dialogs/mouse-settings/mouse-dialog.glade
Log:
* dialogs/accessibility-settings/accessibility-dialog.glade,
  dialogs/appearance-settings/appearance-dialog.glade,
  dialogs/keyboard-settings/keyboard-dialog.glade,
  dialogs/mouse-settings/mouse-dialog.glade: Change border of
  toplevel boxes inside notebooks to 12px for the sake of
  consistency (thunar does the same). Add bottom padding of
  alignments below section titles to 6px.

Modified: xfce4-settings/trunk/ChangeLog
===
--- xfce4-settings/trunk/ChangeLog  2008-06-29 12:11:52 UTC (rev 27179)
+++ xfce4-settings/trunk/ChangeLog  2008-06-29 12:31:36 UTC (rev 27180)
@@ -1,5 +1,15 @@
-2008-06-29 Nick Schermer 
+2008-06-29 Jannis Pohlmann <[EMAIL PROTECTED]>
 
+   * dialogs/accessibility-settings/accessibility-dialog.glade,
+ dialogs/appearance-settings/appearance-dialog.glade,
+ dialogs/keyboard-settings/keyboard-dialog.glade,
+ dialogs/mouse-settings/mouse-dialog.glade: Change border of
+ toplevel boxes inside notebooks to 12px for the sake of 
+ consistency (thunar does the same). Add bottom padding of
+ alignments below section titles to 6px.
+
+2008-06-29 Nick Schermer <[EMAIL PROTECTED]>
+
* xfce4-settings-manager/xfce-settings-manager-dialog.c Dialog
  default size is 600x400px; Changed window icon name to
  preferences-desktop instead of xfce4-settings, since that's

Modified: 
xfce4-settings/trunk/dialogs/accessibility-settings/accessibility-dialog.glade
===
--- 
xfce4-settings/trunk/dialogs/accessibility-settings/accessibility-dialog.glade  
2008-06-29 12:11:52 UTC (rev 27179)
+++ 
xfce4-settings/trunk/dialogs/accessibility-settings/accessibility-dialog.glade  
2008-06-29 12:31:36 UTC (rev 27180)
@@ -1,6 +1,6 @@
 
 
-
+
 
   
   
@@ -24,7 +24,7 @@
 
   
 True
-6
+12
 6
 
   
@@ -34,6 +34,7 @@
 
   
 True
+6
 12
 
   
@@ -153,6 +154,7 @@
 
   
 True
+6
 12
 
   
@@ -408,7 +410,7 @@
 
   
 True
-6
+12
 
   
 True

Modified: 
xfce4-settings/trunk/dialogs/appearance-settings/appearance-dialog.glade
===
--- xfce4-settings/trunk/dialogs/appearance-settings/appearance-dialog.glade
2008-06-29 12:11:52 UTC (rev 27179)
+++ xfce4-settings/trunk/dialogs/appearance-settings/appearance-dialog.glade
2008-06-29 12:31:36 UTC (rev 27180)
@@ -1,6 +1,6 @@
 
 
-
+
 
   
   
@@ -25,7 +25,7 @@
   
 True
 True
-6
+12
 
   
 True
@@ -35,7 +35,6 @@
 True
 0
 0
-6
 Please 
select the UI-theme you want to use
   
   
@@ -82,7 +81,6 @@
 True
 0
 0
-6
 Please 
select the icon-theme you want to use:
   
   
@@ -140,7 +138,7 @@
 
   
 True
-6
+12
 6
 
   
@@ -150,12 +148,13 @@
 
   
 True
-6
+6
 12
 
   
 True
-8
+

[Xfce4-commits] r27179 - in xfce4-settings/trunk: . dialogs/appearance-settings dialogs/mouse-settings xfce4-settings-manager

2008-06-29 Thread Nick Schermer
Author: nick
Date: 2008-06-29 12:11:52 + (Sun, 29 Jun 2008)
New Revision: 27179

Modified:
   xfce4-settings/trunk/ChangeLog
   xfce4-settings/trunk/dialogs/appearance-settings/appearance-dialog.glade
   xfce4-settings/trunk/dialogs/mouse-settings/main.c
   xfce4-settings/trunk/dialogs/mouse-settings/mouse-dialog.glade
   xfce4-settings/trunk/xfce4-settings-manager/xfce-settings-manager-dialog.c
   xfce4-settings/trunk/xfce4-settings-manager/xfce-settings-manager.desktop.in
Log:
* xfce4-settings-manager/xfce-settings-manager-dialog.c Dialog
  default size is 600x400px; Changed window icon name to
  preferences-desktop instead of xfce4-settings, since that's
  the default icon name; Don't show the dialog separator.
  Scrolled window shadow is GTK_SHADOW_IN.
* xfce4-settings-manager/xfce-settings-manager.desktop.in: Changed
  Exec to xfce4-settings-manager.
* dialogs/appearance-settings/appearance-dialog.glade: Make window
  resizable; Put hinting and rgb widgets in a table for proper
  scaling.
* dialogs/mouse-settings/mouse-dialog.glade: Expand the icon theme
  list, not the size/preview widget.
* dialogs/mouse-settings/main.c: Fix compiler warnings.

Modified: xfce4-settings/trunk/ChangeLog
===
--- xfce4-settings/trunk/ChangeLog  2008-06-28 23:02:33 UTC (rev 27178)
+++ xfce4-settings/trunk/ChangeLog  2008-06-29 12:11:52 UTC (rev 27179)
@@ -1,3 +1,19 @@
+2008-06-29 Nick Schermer 
+
+   * xfce4-settings-manager/xfce-settings-manager-dialog.c Dialog
+ default size is 600x400px; Changed window icon name to
+ preferences-desktop instead of xfce4-settings, since that's
+ the default icon name; Don't show the dialog separator.
+ Scrolled window shadow is GTK_SHADOW_IN.
+   * xfce4-settings-manager/xfce-settings-manager.desktop.in: Changed
+ Exec to xfce4-settings-manager.
+   * dialogs/appearance-settings/appearance-dialog.glade: Make window
+ resizable; Put hinting and rgb widgets in a table for proper
+ scaling.
+   * dialogs/mouse-settings/mouse-dialog.glade: Expand the icon theme
+ list, not the size/preview widget.
+   * dialogs/mouse-settings/main.c: Fix compiler warnings.
+
 2008-06-28 Jannis Pohlmann <[EMAIL PROTECTED]>
 
* dialogs/accessibility-settings/accessibility-dialog.glade,

Modified: 
xfce4-settings/trunk/dialogs/appearance-settings/appearance-dialog.glade
===
--- xfce4-settings/trunk/dialogs/appearance-settings/appearance-dialog.glade
2008-06-28 23:02:33 UTC (rev 27178)
+++ xfce4-settings/trunk/dialogs/appearance-settings/appearance-dialog.glade
2008-06-29 12:11:52 UTC (rev 27179)
@@ -1,11 +1,10 @@
 
 
-
+
 
   
   
 Appearance Settings
-False
 GTK_WIN_POS_CENTER_ON_PARENT
 preferences-desktop-theme
 GDK_WINDOW_TYPE_HINT_DIALOG
@@ -55,7 +54,6 @@
 True
 True
 False
-True
   
 
   
@@ -212,10 +210,12 @@
 True
 12
 
-  
+  
 True
-6
-6
+3
+2
+12
+6
 
   
 True
@@ -225,61 +225,60 @@
 0
 True
   
+  
+2
+  
 
 
-  
+  
 True
-12
-True
-
-  
-True
-1
-_Hinting:
-True
-xft_hinting_style_combo_box
-  
-
-
-  
-True
-  
-  
-