Commit graph

1642 commits

Author SHA1 Message Date
Rodney Dawes
95aec817a6 Remove utf8 validate check (gnome_wp_props_wp_set): If the filename we
2005-10-01  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-capplet.c (gnome_wp_add_image): Remove utf8 validate check
	(gnome_wp_props_wp_set): If the filename we have for the image is not
	valid utf8, convert it to utf8 before setting the key in gconf
	(gnome_wp_load_stuffs, gnome_wp_file_changed): Make sure that the
	filename is valid utf8 and the file exists with utf8 encoding, or fall
	back to filename encoding as specified by the user with glib's
	environment variables

	* gnome-wpitem.c (gnome_wp_item_new): Make sure that the name field
	is always utf8 for displaying to the user with the tree view

	* gnome-wp-xml.c (gnome_wp_xml_load_xml): Make sure that the
	filename is valid utf8 and the file exists with utf8 encoding, or fall
	back to filename encoding as specified by the user with glib's
	environment variables
	(gnome_wp_xml_save_list): If the filename is not valid utf8, then
	convert to utf8 for storing in the XML file

	Fixes #168604
2005-10-01 21:29:39 +00:00
Sebastien Bacher
5b28dd2404 list evolution-2.4 binary, patch by Jan de Groot <jan@jgc.homeip.net>
2005-09-25  Sebastien Bacher  <seb128@debian.org>

	* gnome-default-applications-properties-structs.c:
	list evolution-2.4 binary, patch by Jan de Groot <jan@jgc.homeip.net>
	(Closes: #315871).
2005-09-25 21:28:02 +00:00
Sebastien Bacher
4608b226d3 fix a crasher when the cursor theme has no icon.
2005-09-16  Sebastien Bacher  <seb128@debian.org>

        * gnome-mouse-properties.c: (populate_tree_model):
        fix a crasher when the cursor theme has no icon.
2005-09-16 12:43:01 +00:00
Rodrigo Moya
75bab33c15 guard against invalid values from the GtkHScale widget.
2005-08-31  Rodrigo Moya <rodrigo@novell.com>

	* gnome-mouse-properties.c (delay_value_changed_cb): guard against
	invalid values from the GtkHScale widget.
2005-09-08 10:01:59 +00:00
Rodney Dawes
f7e362d87b Set the style property "action-area-border" for the GtkDialogs here
2005-09-06  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-capplet.c (wallpaper_properties_init): Set the style
	property "action-area-border" for the GtkDialogs here

	"Fixes" #313680
2005-09-06 21:49:45 +00:00
Sven Herzberg
ef660349a1 listen to the XCURSOR_PATH environment variable (Closes: #312534).
2005-08-30  Sven Herzberg  <herzi@gnome-de.org>

        * gnome-mouse-properties.c: listen to the XCURSOR_PATH environment
        variable (Closes: #312534).
2005-08-29 22:44:42 +00:00
Kjartan Maraas
4583778397 Move the call to g_free (cursor_font) outside of the conditional so it
2005-08-24  Kjartan Maraas  <kmaraas@gnome.org>

	* gnome-mouse-properties.c: (cursor_changed): Move the call to
	g_free (cursor_font) outside of the conditional so it gets free'd
	in both cases.
2005-08-24 17:16:58 +00:00
Sergey V. Udaltsov
b5329ba990 remove pangoxft 2005-08-23 23:56:37 +00:00
Christian Persch
f2755dfdd5 Fix distcheck.
2005-08-22  Christian Persch  <chpe@cvs.gnome.org>

	* capplets/Makefile.am: Fix distcheck.
2005-08-22 13:37:11 +00:00
Rodney Dawes
3952515943 If the value for the "picture_options" key is set to "none", don't set the
2005-08-21  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-capplet.c (gnome_wp_option_menu_set): If the value for
	the "picture_options" key is set to "none", don't set the optin menu
	for the scaling options to tiled

	Fixes #313883
2005-08-21 14:07:39 +00:00
Rodney Dawes
6d7b1e9ee4 Replace the changing of some GtkDialog defaults through style properties
2005-08-17  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-capplet.c (wallpaper_properties_init): Replace the changing
	of some GtkDialog defaults through style properties with calls to
	gtk_widget_ensure_style and gtk_container_set_border_width

	Fixes #313680
2005-08-17 11:58:43 +00:00
Veerapuram Varadhan
8456c322c0 Enable/disable the style-menu, shading-menu and color-picker buttons w.r.t
2005-08-15  Veerapuram Varadhan <vvaradhan@novell.com>

	* gnome-wp-capplet.c (gnome_wp_props_wp_set):
	(gnome_wp_color[12]_changed, gnome_wp_options_changed):
	(gnome_wp_shading_changed, wallpaper_properties_init):
	Enable/disable the style-menu, shading-menu and color-picker
	buttons w.r.t gconf-keys.
	(gnome_wp_set_sensitivities): Utility function to take care of
	enabling/disabling widgets w.r.t gconf-keys.
	(gnome_wp_props_wp_set): Don't set the sensitivity of the remove and
	style buttons here. Just call the new method to do it instead
2005-08-16 21:14:14 +00:00
Diego González
27c8a5ed16 Revert patch of the previous patch as it modified the UI 2005-08-16 12:10:15 +00:00
Olaf Heiring
4c49664894 use integer to avoid comparison being always true due to limited range.
2005-08-15  Olaf Heiring <olh@suse.de>

	* gnome-about-me-password.c (read_everything): use integer to avoid
	  comparison being always true due to limited range.

2005-08-15  Diego Gonzalez <diego@pemas.net>

	* gnome-about-me-password.c (update_password): use "wrapped" instead
	  of "one" to handler the case where the passwd command finds the
	  password wrapped. Use a long delay period.

	  Patch by Jaap Hatsima.
2005-08-15 18:09:33 +00:00
Rodney Dawes
f2548a55cd Forgot to commit the entire changelog entry (saved in the middle) 2005-08-15 16:15:54 +00:00
Rodney Dawes
0ffa252428 Get the Example icon that is specified by the icon theme, if it exists,
2005-08-14  Rodney Dawes  <dobey@novell.com>

	* theme-thumbnail.c (create_image): Get the Example icon that is
	specified by the icon theme, if it exists, and then fall back through
	a better list of icons to use. Gnome uses gnome-fs-directory currently
	for folders, so we should prefer that over folder, but the icon naming
	spec lists x-directory-normal for standard folders, so we should prefer
	that above other folders

	This fixes issues with the wrong icon being drawn in the thumbnail, due
	to the icon theme providing the gnome folder icon, but inheriting from
	another theme which provides a different icon named "folder" for KDE or
	other desktops
2005-08-14 23:58:24 +00:00
Francisco Javier F. Serrador
a9b538de77 Fixed a typo.
2005-08-14  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* gnome-about-me-password.c: Fixed a typo.
2005-08-14 21:13:54 +00:00
Sergey V. Udaltsov
46a69bcda0 fixing #313368 2005-08-14 21:04:40 +00:00
Sebastien Bacher
49e485406e don't use a page value, fix the different behaviour between widgets
(Closes: #301470).
2005-08-14 15:30:51 +00:00
Diego Gonzalez
52915655ee fix the rest of bug 312092 which was caused when the old and new passwords
2005-08-07  Diego Gonzalez <diego@pemas.net>

        * gnome-about-me-password.c (update_password): fix the rest of bug
          312092 which was caused when the old and new passwords were the
          same.
2005-08-08 01:28:40 +00:00
Diego González
bc36bd888d Make the dialog a bit bigger to fit some of the strings 2005-08-06 17:32:04 +00:00
Diego Gonzalez
c1446b213a handle protocol errors from EDS.
2005-08-06  Diego Gonzalez <diego@pemas.net>

        * gnome-about-me.c (about_me_setup_dialog): handle protocol errors
          from EDS.

          This make the capplet not crash and fixes bug 312450, but the real
          problem is on EDS, not here.
2005-08-06 17:22:29 +00:00
Diego Gonzalez
2abc3de4e1 change signature and handle error conditions from passwd.
2005-08-06 Diego Gonzalez <diego@pemas.net>

	* gnome-about-me-password.c (update_password): change signature and
	  handle error conditions from passwd.
	  (passdlg_process_response): adapt to changes in update_password
	  to show the error strings returned.

	Fixes bug 312092.
2005-08-06 16:29:26 +00:00
Diego Gonzalez
f868ce40f3 avoid using gtk_main and use gtk_dialog_run instead.
2005-08-06  Diego Gonzalez <diego@pemas.net>

	* gnome-about-me-password.c (gnome_about_me_password): avoid using
	  gtk_main and use gtk_dialog_run instead.
	  (passdlg_button_clicked_cb): rename to passdlg_process_response
	  (spawn_passwd): return a value, so that we can see if we need to
	  exit without using gtk_main_quit
	  (wait_child) avoid use of gtk_main_quit. More work is required on
	  this case, but for now it will be enough.

	Fixes bugs 312580 and 309736.
2005-08-06 15:49:13 +00:00
Sebastien Bacher
a896b6888c no need to allocate a string for the theme when there is no theme
2005-08-01  Sebastien Bacher  <seb128@debian.org>

        * gnome-mouse-properties.c: (cursor_theme_changed): no need to allocate
        a string for the theme when there is no theme installed.
2005-08-01 15:59:43 +00:00
Sebastien Bacher
c5d1a9b0b7 don't crash if there is no cursor theme installed (Closes: #311599).
2005-08-01  Sebastien Bacher  <seb128@debian.org>

        * gnome-mouse-properties.c: (cursor_theme_changed):
        don't crash if there is no cursor theme installed (Closes: #311599).
2005-08-01 13:11:03 +00:00
Sebastien Bacher
560cb26529 update dynamically the double click label (Closes: #166908).
2005-07-31  Sebastien Bacher  <seb128@debian.org>

        * gnome-mouse-properties.c: (delay_value_changed_cb),
        (setup_dialog):
        update dynamically the double click label (Closes: #166908).
2005-07-31 12:58:41 +00:00
Sebastien Bacher
18793ea419 update of the glade file, no need to restart the session to apply the
2005-07-31  Sebastien Bacher  <seb128@debian.org>

        * gnome-mouse-properties.glade:
        update of the glade file, no need to restart the session to apply
        the changes with GTK 2.8 (Closes: #312070).
2005-07-31 12:24:36 +00:00
Sergey V. Udaltsov
79faf3a3c9 tiny bit of code polish 2005-07-27 22:50:42 +00:00
Sebastien Bacher
26ce733fb7 set a default icon for capplets, patch by Jaap A. Haitsma
2005-07-27  Sebastien Bacher  <seb128@debian.org>

        * capplet-util.c: (capplet_set_icon): set a default icon for capplets,
        patch by Jaap A. Haitsma <jaap@haitsma.org> (Closes: #305086).
2005-07-27 09:58:54 +00:00
Sergey V. Udaltsov
25ac663f39 fixing #310513 2005-07-26 20:38:25 +00:00
Sebastien Bacher
1f12e54e0a Update for the changed signal of the option menus
2005-07-25  Sebastien Bacher <seb128@debian.org>

	* gnome-wp-capplet.c (gnome_wp_{scale,shade}_type_changed):
	Update for the changed signal of the option menus
	(wallpaper_properties_init): Connect to the changed signal of
	the scale and color style option menus

	Fixes #157396
2005-07-26 03:15:35 +00:00
Sebastien Bacher
06ca0fa30b Replace GnomeColorPicker with the GtkColorButton widget Some properties
2005-07-25  Sebastien Bacher <seb128@debian.org>

	* gnome-background-properties.glade: Replace GnomeColorPicker with
	the GtkColorButton widget
	Some properties were added by newer version of glade

	* gnome-wp-capplet.c (gnome_wp_props_wp_set):
	(gnome_wp_[s]color_changed, gnome_wp_color[12]_changed):
	(gnome_wp_load_stuffs, wallpaper_properties_init):
	Update to use the API for GtkColorButton instead of GnomeColorPicker

	Fixes #171676
2005-07-25 20:51:16 +00:00
Rodrigo Moya
cf87a9a2c9 new function to get the correct screensaver command to run. (apply_config,
2005-07-20  Rodrigo Moya <rodrigo@novell.com>

	* main.c (get_screensaver_command): new function to get the correct
	screensaver command to run.
	(apply_config, revert_config): use gnome-screensaver if available.
2005-07-25 11:55:06 +00:00
Sebastien Bacher
c6f063ff7a set the "is_important" property for one of the buttons, so the label is
2005-07-24  Sebastien Bacher  <seb128@debian.org>

        * gnome-ui-properties.glade: set the "is_important" property for one
        of the buttons, so the label is showed for the "Text beside icons" mode
        (Closes: #308845).
2005-07-24 20:25:24 +00:00
Mark McLoughlin
b48525cff4 See
2005-07-19  Mark McLoughlin  <mark@skynet.ie>

        See http://mail.gnome.org/archives/desktop-devel-list/2005-July/msg00341.html

        * capplets/wm-properties/*: remove old crufty code.
2005-07-19 12:35:24 +00:00
Diego Gonzalez
35a9a8f946 change the order of the buttons to match the HIG.
2005-07-16  Diego Gonzalez <diego@pemas.net>

    * gnome-about-me.c (about_me_image_clicked_cb): change the order
      of the buttons to match the HIG.

      Patch by Denis Cranston. Fixes bug 309632.
2005-07-16 21:42:40 +00:00
Dennis Cranston
6b0cd523f8 Set a default message. Use g_strconcat() instead of g_strdup() and mark
2005-07-12  Dennis Cranston <dennis_cranston at yahoo com>

    * gnome-about-me-password.c (passdlg_check_password_timeout_cb):
      Set a default message. Use g_strconcat() instead of g_strdup()
      and mark strings for translation; (gnome_about_me_password):
      Set the window icon.

    * gnome-about-me.glade:  Rearrange the change password dialog.
      Relabel the ok button to 'Change Password'.

      Closes bug 310307
2005-07-16 21:37:15 +00:00
Diego Gonzalez
542dfba26c Don't build e-util-marshal, as we can use the glib marshallers. Use
2005-07-16  Diego Gonzalez  <diego@pemas.net>

    * Makefile.am: Don't build e-util-marshal, as we can use
      the glib marshallers.
    * e-image-chooser.c: (e_image_chooser_class_init): Use standard
      glib marshallers.
    * gnome-about-me.c: (about_me_focus_out),
      (about_me_get_address_field), (about_me_setup_dialog): Add some
      error checking.

      Patch by James Bowes.
2005-07-16 21:09:01 +00:00
Sebastien Bacher
e1723021da fixed a mnemonic conflict (#155953).
2005-07-16  Sebastien Bacher  <seb128@debian.org>

	* gnome-network-preferences.glade: fixed a mnemonic conflict (#155953).
2005-07-16 14:55:33 +00:00
Rodney Dawes
d8715b0371 If xmlParseFile returns NULL, then just return, rather than trying to
2005-07-14  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-xml.c (gnome_wp_xml_load_xml): If xmlParseFile returns
	NULL, then just return, rather than trying to parse the document

	Fixes #310041
2005-07-15 04:41:53 +00:00
Rodney Dawes
72f3f194b1 Pass the md5sum to the call to g_strconcat to create the path to the
2005-07-13  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-info.c (gnome_wp_info_new): Pass the md5sum to the call
	to g_strconcat to create the path to the thumbnail file

	Fixes #310293
2005-07-14 03:06:24 +00:00
Sebastien Bacher
2ad4a31496 new file.
2005-07-13  Sebastien Bacher  <seb128@debian.org>

        * .cvsignore: new file.
2005-07-13 21:54:58 +00:00
Diego Gonzalez
c18fbc4555 change the maxium width and height permitted on an image, in the hope that
2005-07-13  Diego Gonzalez  <diego@pemas.net>

    * gnome-about-me.c (about_me_update_photo): change the maxium width
      and height permitted on an image, in the hope that it mitigates
      the problem reported in bug 309643.
2005-07-13 20:28:10 +00:00
Diego Gonzalez
c9c0a84331 fix image loading when draging an image on the image button, it was
2005-07-13  Diego Gonzalez  <diego@pemas.net>

    * e-image-chooser.c (image_drag_data_received_cb): fix image loading
      when draging an image on the image button, it was getting hanged.
      (e_image_chooser_init): fix the positioning of the image on the button,
      still not perfect but a bit better.

      Also included in this patch are several cleanups to the code.

      Fixes bug 309628 and partially bugs 309629 and 309387

    * gnome-about-me.c (about_me_setup_dialog): connect to the changed
      signal on the image-chooser, so that we are notified when the
      user changes the image using DnD.
      (about_me_image_changed_cb): new function, it is called whenever
      the user changes the image using D&D.

      Mark two strings for translation.
2005-07-13 20:16:13 +00:00
Diego Gonzalez
624869b522 if the saving timeout has not yet expired and we click exit then commit
2005-07-13  Diego Gonzalez  <diego@pemas.net>

    * gnome-about-me.c (about_me_button_clicked_cb): if
      the saving timeout has not yet expired and we click
      exit then commit the changes so that we don't loose
      any data.

      Fixes bug 309737.
2005-07-13 10:46:56 +00:00
Diego González
98d1ad8a49 Forgot to commit this file. 2005-07-13 10:03:25 +00:00
Diego Gonzalez
7099ba51af this file is no longer used.
2005-07-12  Diego Gonzalez  <diego@pemas.net>

    * gnome-about-me.png: this file is no longer used.
2005-07-12 18:41:25 +00:00
Sven Herzberg
c08f3685cc fix the without HAVE_XCURSOR build
2005-07-12  Sven Herzberg  <herzi@gnome-de.org>

        * gnome-mouse-properties.c: fix the without HAVE_XCURSOR build
2005-07-12 18:29:13 +00:00
Diego Gonzalez
a6bfb5ca46 remove gdk_pixbuf_unref calls which are deprecated and use g_object_unref
2005-07-11  Diego Gonzalez  <diego@pemas.net>

    * e-image-chooser.c: remove gdk_pixbuf_unref calls which are
      deprecated and use g_object_unref instead

2005-07-11  Diego Gonzalez  <diego@pemas.net>

    * gnome-about-me-password.c: fix some string errors

      Fixes bug 309951 and bug 309950

2005-07-10  Dennis Cranston <dennis_cranston at yahoo com>

    * gnome-about-me.glade:  HIG fixes; fix widget padding,
      use sentence capitalization for text field labels, fix
      mnemonic conflics, and remove mnemonics from tab labels.

      Also fixes bug 309952
2005-07-12 18:06:41 +00:00