1. 20 Sep, 2010 1 commit
  2. 08 Aug, 2010 1 commit
    • Vincent Untz's avatar
      [clock] Use the polkit helper from g-s-d to set time/timezone · 4362e6cf
      Vincent Untz authored
      gnome-clock-applet-mechanism has moved to gnome-settings-daemon (since
      2.31.4) and is now named gsd-datetime-mechanism. The D-Bus interface is
      the same, except for the name of the service and the name of the
      interface. So we simply need to remove a lot of code that is now
      duplicated.
      
      Note that this means polkit is not needed anymore to build gnome-panel.
      4362e6cf
  3. 22 Jun, 2010 1 commit
  4. 26 May, 2010 2 commits
  5. 22 Feb, 2010 1 commit
    • Carlos Garcia Campos's avatar
      Remove bonobo dependency · 060e3638
      Carlos Garcia Campos authored
      Libpanel-applet and gnome-panel have been ported to dbus and the applets
      have been migrated to the new libpanel-applet API.
      See bug #572131.
      060e3638
  6. 14 Jan, 2010 1 commit
  7. 11 Aug, 2009 3 commits
  8. 06 Aug, 2009 2 commits
  9. 21 Jul, 2009 1 commit
  10. 04 Jun, 2009 1 commit
    • Vincent Untz's avatar
      [clock] Remove dead config tool dead code · 33cfffff
      Vincent Untz authored
      Remove the old code that was used to choose/start the config tool to set
      the time and date, since we now use a PolicyKit helper.
      
      Also remove --with-clock-time-utility configure option.
      33cfffff
  11. 02 May, 2009 1 commit
  12. 26 Apr, 2009 1 commit
  13. 17 Feb, 2009 1 commit
    • Vincent Untz's avatar
      require GTK+ 2.15.1 for orientable GtkBox. · 5fee601f
      Vincent Untz authored
      2009-02-17  Vincent Untz  <vuntz@gnome.org>
      
      	* configure.in: require GTK+ 2.15.1 for orientable GtkBox.
      
      2009-02-17  Vincent Untz  <vuntz@gnome.org>
      
      	Kill OBox since GtkBox now supports changing the orientation.
      	Patch by Christian Persch <chpe@gnome.org>.
      	Fix bug #571042.
      
      	* Makefile.am: remove obox.[ch]
      	* obox.[ch]: killed
      	* clock.c: (clock_box_init), (clock_box_class_init): add an
      	instantiable GtkBox type
      	(create_clock_widget), (applet_change_orient): use GtkBox methods.
      
      2009-02-17  Vincent Untz  <vuntz@gnome.org>
      
      	Kill OBox since GtkBox now supports changing the orientation.
      	Patch by Christian Persch <chpe@gnome.org>.
      	Fix bug #571042.
      
      	* Makefile.am: remove obox.[ch]
      	* obox.[ch]: killed
      	* main.c: remove useless include
      	* na-tray.c: (na_box_init), (na_box_class_init): add an
      	instantiable GtkBox type
      	(update_size_and_orientation), (na_tray_init): use GtkBox methods.
      
      svn path=/trunk/; revision=11518
      5fee601f
  14. 07 Jan, 2009 1 commit
  15. 04 Aug, 2008 1 commit
    • Dan Winship's avatar
      Use GWeatherLocationEntry and GWeatherTimezoneMenu in the add/edit · 74a2a722
      Dan Winship authored
      	* clock.c: Use GWeatherLocationEntry and GWeatherTimezoneMenu in
      	the add/edit location dialog. Remove all the old
      	find-location-dialog code
      
      	* clock.glade: Remove some old versions of dialogs, and update for
      	new widgets
      
      	* clock-country.c:
      	* clock-zoneinfo.c:
      	* clock-zonetable.c: Gone; GWeatherTimezone handles this now
      
      	* Makefile.am (INCLUDES): remove refs to EVOLUTION_TEXTDOMAIN; we
      	don't need to steal evolution's translations any more
      	(CLOCK_SOURCES): remove stuff
      
      svn path=/trunk/; revision=11189
      74a2a722
  16. 21 Apr, 2008 1 commit
    • Vincent Untz's avatar
      rename to... this, and add <vendor>, <vendor_url>, <icon> · e773dddb
      Vincent Untz authored
      2008-04-21  Vincent Untz  <vuntz@gnome.org>
      
      	* Makefile.am:
      	* gnome-clock-applet-mechanism.policy.in: rename to...
      	* org.gnome.clockapplet.mechanism.policy.in: this, and add <vendor>,
      	<vendor_url>, <icon>
      
      2008-04-21  Vincent Untz  <vuntz@gnome.org>
      
      	* POTFILES.in: updated
      
      svn path=/trunk/; revision=11073
      e773dddb
  17. 10 Apr, 2008 1 commit
    • Vincent Untz's avatar
      add gio check for CLOCK_MECHANISM, because of the use of system-timezone.c · 8fe2403f
      Vincent Untz authored
      2008-04-10  Vincent Untz  <vuntz@gnome.org>
      
      	* configure.in: add gio check for CLOCK_MECHANISM, because of the use
      	of system-timezone.c
      
      2008-04-10  Vincent Untz  <vuntz@gnome.org>
      
      	Rewrite the code to set the system timezone. It should work on most
      	distributions now, instead of only the ones doing the same thing as
      	Fedora. Like the rewrite to get the timezone, it helps improve the
      	world.
      
      	* Makefile.am: fix typo and add system-timezone.[ch] to
      	gnome_clock_applet_mechanism_SOURCES
      	* gnome-clock-applet-mechanism.c:
      	(gnome_clock_applet_mechanism_set_timezone): just call
      	system_timezone_set_from_file()
      	* system-timezone.[ch]: add clear comments and some code to easily test
      	the functions
      	Also add comments on our current knowledge about system timezones on
      	the various distributions.
      	(system_timezone_constructor),
      	(system_timezone_finalize): fix the same singleton issue as the one
      	fixed in the previous commit
      	(system_timezone_write_etc_timezone),
      	(system_timezone_write_key_file),
      	(system_timezone_write_etc_TIMEZONE),
      	(system_timezone_write_etc_sysconfig_clock),
      	(system_timezone_write_etc_sysconfig_clock_alt),
      	(system_timezone_write_etc_conf_d_clock),
      	(system_timezone_is_zone_file_valid),
      	(system_timezone_set_etc_timezone),
      	(system_timezone_update_config), (system_timezone_set_from_file),
      	(system_timezone_set), (system_timezone_error_quark): well, all new. To
      	do some magic things. Some code is loosely based on what was in
      	gnome-clock-applet-mechanism.c
      
      svn path=/trunk/; revision=11024
      8fe2403f
  18. 08 Apr, 2008 2 commits
    • Vincent Untz's avatar
      Completely rewrite the way we detect the system timezone. It will work on · fb2550d6
      Vincent Untz authored
      2008-04-08  Vincent Untz  <vuntz@gnome.org>
      
      	Completely rewrite the way we detect the system timezone. It will work
      	on more distributions this way. Also the code is better and it helps
      	improve the world.
      	Good thing is that now the clock will always immediately update after
      	the timezone is updated.
      
      	* Makefile.am: add new files
      	* system-timezone.[ch]: new file, implement a singleton that knows how
      	to read the system timezone and that monitors it
      	* clock-location.[ch]: (clock_location_new): don't get the TZ
      	environment variable here
      	(files_are_identical):
      	(recursive_guess_zone):
      	(guess_zone_from_tree):
      	(parse_etc_sysconfig_clock):
      	(monitor_etc_sysconfig_clock):
      	(zone_from_etc_sysconfig_clock):
      	(clock_location_guess_zone): killed
      	(clock_location_init): updated to create the SystemTimezone object
      	(clock_location_finalize): updated
      	(clock_location_unset_tz): use system_timezone_get_env() instead of a
      	local variable
      	(clock_location_is_current_timezone): use system_timezone_get()
      	(clock_location_get_offset): use clock_location_unset_tz() instead of
      	duplicating code
      	(make_current_cb): updated to remove the current timezone handling
      	* clock-zoneinfo.h: move SYSTEM_ZONEINFODIR to system-timezone.h
      	* clock-zonetable.c: add new include
      	* clock.c: add a SystemTimezone object
      	(destroy_clock): unref it
      	(clock_timezone_changed): new, handle system timezone change
      	(fill_clock_applet): create the SystemTimezone object and connect to
      	its changed signal
      
      	* clock-marshallers.list: remove marshallers that already exist in glib
      	* clock-location.[ch]: (clock_location_class_init): updated for this
      
      svn path=/trunk/; revision=11016
      fb2550d6
    • Vincent Untz's avatar
      Use the right directory for timezone data on Solaris. Based on patch by · e2b6fdb4
      Vincent Untz authored
      2008-04-08  Vincent Untz  <vuntz@gnome.org>
      
      	Use the right directory for timezone data on Solaris.
      	Based on patch by Brian Cameron <brian.cameron@sun.com>
      	Fix bug #515085.
      	Also use the right evolution text domain for timezone translations.
      
      	* Makefile.am: remove definition of SYSTEM_ZONEINFODIR, and update the
      	evolution text domain
      	* clock-zoneinfo.h: define SYSTEM_ZONEINFODIR
      	* clock-zonetable.[ch]: (clock_zonetable_new): do not take an argument,
      	and directly use the defined value for the directory
      	* clock.c: (fill_clock_applet): updated
      
      svn path=/trunk/; revision=11011
      e2b6fdb4
  19. 07 Apr, 2008 1 commit
    • Vincent Untz's avatar
      require gweather 2.22.1, do not check for libxml and the locations.xml · df19cd82
      Vincent Untz authored
      2008-04-07  Vincent Untz  <vuntz@gnome.org>
      
      	* configure.in: require gweather 2.22.1, do not check for libxml and
      	the locations.xml file for the clock applet
      	End of bug #519823.
      
      2008-04-07  Vincent Untz  <vuntz@gnome.org>
      
      	Use new gweather API, and make sure we always use data from the right
      	country. Patch by Dan Winship <danw@gnome.org>. Fix bug #519823.
      
      	* gweather-xml.c: gone, moved to libgweather
      	* clock-location.c: updated
      	* Makefile.am: updated
      	* clock.c: #include <libgweather/gweather-xml.h> rather than
      	"gweather-xml.h"
      	(find_timezone): if the weather station has a country code
      	associated with it, only return timezones that are also located in
      	that country.
      	(update_timezone): Use the tz-hint and iso-code from the location
      	data to more reliably pick a timezone. #519823.
      	(find_weather_code): Moved here from gweather-xml.c and updated to
      	look for a matching country code as well.
      
      svn path=/trunk/; revision=10984
      df19cd82
  20. 03 Apr, 2008 1 commit
    • Vincent Untz's avatar
      remove timezone.glade, unused now. · 8c1ff3f9
      Vincent Untz authored
      2008-04-03  Vincent Untz  <vuntz@gnome.org>
      
      	* Makefile.am:
      	* timezone.glade: remove timezone.glade, unused now.
      
      svn path=/trunk/; revision=10981
      8c1ff3f9
  21. 02 Apr, 2008 1 commit
    • Vincent Untz's avatar
      updated for e-map removal · f518c5b7
      Vincent Untz authored
      2008-04-02  Vincent Untz  <vuntz@gnome.org>
      
      	* configure.in: updated for e-map removal
      
      2008-04-02  Vincent Untz  <vuntz@gnome.org>
      
      	* Makefile.am: updated
      	* e-map/Makefile.am:
      	* e-map/e-map-marshal.list:
      	* e-map/e-map.c:
      	* e-map/e-map.h:
      	* tz-list.c:
      	* tz-list.h:
      	* tz-sel-dialog.c:
      	* tz-sel-dialog.h:
      	* tz-window.c:
      	* tz-window.h:
      	* tz.c:
      	* tz.h: Remove all those files that aren't used anymore.
      
      svn path=/trunk/; revision=10975
      f518c5b7
  22. 26 Feb, 2008 1 commit
  23. 11 Feb, 2008 1 commit
    • Vincent Untz's avatar
      tweak for distcheck... · 6ee9a8b0
      Vincent Untz authored
      2008-02-11  Vincent Untz  <vuntz@gnome.org>
      
      	* Makefile.am: tweak for distcheck...
      
      svn path=/trunk/; revision=10823
      6ee9a8b0
  24. 27 Jan, 2008 3 commits
    • Vincent Untz's avatar
      clean this a bit · ef9a4f3c
      Vincent Untz authored
      2008-01-28  Vincent Untz  <vuntz@gnome.org>
      
      	* Makefile.am: clean this a bit
      
      svn path=/trunk/; revision=10762
      ef9a4f3c
    • Vincent Untz's avatar
      updated to intltoolize the policy.in file moved... ... here, and mark · 5ad3e7b6
      Vincent Untz authored
      2008-01-28  Vincent Untz  <vuntz@gnome.org>
      
      	* Makefile.am: updated to intltoolize the policy.in file
      	* gnome-clock-applet-mechanism.policy: moved...
      	* gnome-clock-applet-mechanism.policy.in: ... here, and mark strings
      	as translatable
      	Fix bug #510635. Patch by Luca Ferretti <elle.uca@libero.it>
      
      2008-01-28  Vincent Untz  <vuntz@gnome.org>
      
      	* POTFILES.in: updated
      
      svn path=/trunk/; revision=10761
      5ad3e7b6
    • Vincent Untz's avatar
      look for Locations.xml through pkg-config. Fix bug #509888. Patch by · c8320203
      Vincent Untz authored
      2008-01-28  Vincent Untz  <vuntz@gnome.org>
      
      	* configure.in: look for Locations.xml through pkg-config.
      	Fix bug #509888.
      	Patch by Patryk Zawadzki <patrys@pld-linux.org>
      
      2008-01-28  Vincent Untz  <vuntz@gnome.org>
      
      	* Makefile.am: define where Locations.xml is (via pkg-config)
      	* gweather-xml.c: (gweather_xml_load_locations): updated for the
      	change
      	Fix bug #509888.
      	Patch by Patryk Zawadzki <patrys@pld-linux.org>
      
      svn path=/trunk/; revision=10760
      c8320203
  25. 20 Jan, 2008 1 commit
  26. 17 Jan, 2008 1 commit
  27. 16 Jan, 2008 1 commit
  28. 15 Jan, 2008 1 commit
  29. 14 Jan, 2008 1 commit
    • Federico Mena Quintero's avatar
      Merge of intlclock into the clock applet · 0f195e9c
      Federico Mena Quintero authored
      
      2008-01-14  Federico Mena Quintero  <federico@novell.com>
      
      	INTLCLOCK MERGE ENDS HERE
      
      	* applets/clock/*: Merged the International Clock applet into
      	applets/clock.
      
      2008-01-02  Federico Mena Quintero  <federico@novell.com>
      
      	* configure.in: Add a test for _NL_MEASUREMENT_MEASUREMENT.
      
      2008-01-02  Federico Mena Quintero  <federico@novell.com>
      
      	* configure.in (CLOCK_MECHANISM): Check the libraries that the
      	clock / timezone mechanism needs.
      
      2007-12-05  Federico Mena Quintero  <federico@novell.com>
      
      	* configure.in: Check for extra modules needed for the clock
      	applet:  rsvg, d-bus, polkit.
      
      	INTLCLOCK MERGE BEGINS HERE
      Signed-off-by: default avatarFederico Mena Quintero <federico@gnu.org>
      
      svn path=/trunk/; revision=10725
      0f195e9c
  30. 08 Jul, 2007 1 commit
    • Vincent Untz's avatar
      dist the glade file · 12e969b9
      Vincent Untz authored
      2007-07-08  Vincent Untz  <vuntz@gnome.org>
      
      	* Makefile.am: dist the glade file
      
      svn path=/trunk/; revision=10540
      12e969b9
  31. 05 Jul, 2007 1 commit
    • Vincent Untz's avatar
      Changes needed for the support for timezones in the clock applet. Bug · 5882f3c1
      Vincent Untz authored
      2007-07-05  Vincent Untz  <vuntz@gnome.org>
      
      	Changes needed for the support for timezones in the clock applet.
      	Bug #88754.
      
      	* configure.in: check for glade for the clock applet, check for
      	solaris build and add new Makefile
      	* icons/world_map-960.png: new
      	* icons/Makefile.am: add new file
      
      2007-07-05  Vincent Untz  <vuntz@gnome.org>
      
      	Add support for timezones. This needs some more work and testing on
      	various OS. I'm not sure the tz.c part work well outside of Linux, eg.
      	Fix bug #88754.
      
      	* Makefile.am: add new files, and other updates needed for this commit
      	* calendar-window.c: make gconf keys #define
      	(calendar_window_destroy): unref the gconf client
      	* calendar-window.h: small update
      	* clock-utils.[ch]: new file, containing some common code:
      	clock_locale_format() and clock_utils_display_help()
      	* clock.h: small update
      	* clock.c: make gconf keys #define
      	(set_tooltip): kill
      	(update_clock): update the tz popup too with the new time
      	(update_tooltip): use gtk_widget_set_tooltip_text()
      	(destroy_clock): updated
      	(close_on_escape): make a bit more generic
      	(delete_event): ditto
      	(clock_locale_format): moved to clock-utils.c
      	(create_calendar): updated
      	(create_tz): new
      	(position_calendar_popup): updated to be a bit more simple
      	(position_tz_popup): new
      	(present_calendar_popup): killed
      	(update_calendar_popup): renamed from update_popup, close the tz popup
      	if it's open
      	(update_tz_popup): new, based on update_calendar_popup()
      	(toggle_calendar): updated
      	(toggle_timezone): new
      	(toggle_timezone_shown): new
      	(toggle_timezone_hidden): new
      	(create_clock_widget): updated, and added the obox and the tz toggle
      	(applet_change_orient): change obox orientation and the direction of
      	the arrow in the tz toggle
      	(format_changed): updated
      	(gmt_time_changed): updated
      	(show_week_changed): updated
      	(show_tz_changed): new
      	(setup_gconf): add new listener
      	(fill_clock_applet): updated
      	(set_show_zones_cb): new
      	(properties_response_cb): use clock_utils_display_help()
      	(display_properties_dialog): updated for the new checkbox
      	(display_help_dialog): use clock_utils_display_help()
      	* clock.schemas.in: add new show_timezones and timezones/tz_id_list
      	keys
      	* e-map/*: e-map code, taken from evolution/gnome-system-tools
      	* obox.[ch]: new, stolen from the notification area
      	* tz-list.[ch]: new, handles configuration related to the timezones.
      	* tz-sel-dialog.[ch]: new, a dialog to handle timezone configuration
      	* timezone.glade: new, glade file for the timezone configuration
      	dialog
      	* tz-window.[ch]: new, a popup similar to the calendar popup showing
      	selected timezones
      	* tz.[ch]: new, read timezone information from the OS. It's based on
      	code taken from anaconda/evolution/gnome-system-tools. The data is
      	shared among all instances in the process.
      
      svn path=/trunk/; revision=10532
      5882f3c1
  32. 26 Jun, 2007 1 commit
  33. 25 May, 2007 1 commit
    • Vincent Untz's avatar
      detect the datadir of e-d-s, since we need it for icons. This adds a · 3917d389
      Vincent Untz authored
      2007-05-25  Vincent Untz  <vuntz@gnome.org>
      
      	* configure.in: detect the datadir of e-d-s, since we need it for
      	icons. This adds a dependency on e-d-s (for packagers who split e-d-s
      	in many small libraries)
      
      2007-05-25  Vincent Untz  <vuntz@gnome.org>
      
      	* Makefile.am: remove old code handling icons, and directly use the
      	e-d-s icons
      	* calendar-window.c: (set_renderer_pixbuf_pixmap): new
      	(set_renderer_pixbuf_pixmap_for_bday): change path for icons, and use
      	set_renderer_pixbuf_pixmap()
      	(set_renderer_pixbuf_pixmap_for_weather): ditto
      	(calendar_window_tree_selection_changed), (create_task_list),
      	(create_list_for_appointment_model), (create_appointment_list),
      	(create_birthday_list), (create_weather_list),
      	(calendar_window_init): simplify the code to have only one selection
      
      svn path=/trunk/; revision=10419
      3917d389