aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-timezone-dialog/e-timezone-dialog.c
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-870/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evolution consists of entirely too many small utility libraries, which increases linking and loading time, places a burden on higher layers of the application (e.g. modules) which has to remember to link to all the small in-tree utility libraries, and makes it difficult to generate API documentation for these utility libraries in one Gtk-Doc module. Merge the following utility libraries under the umbrella of libeutil, and enforce a single-include policy on libeutil so we can reorganize the files as desired without disrupting its pseudo-public API. libemail-utils/libemail-utils.la libevolution-utils/libevolution-utils.la filter/libfilter.la widgets/e-timezone-dialog/libetimezonedialog.la widgets/menus/libmenus.la widgets/misc/libemiscwidgets.la widgets/table/libetable.la widgets/text/libetext.la This also merges libedataserverui from the Evolution-Data-Server module, since Evolution is its only consumer nowadays, and I'd like to make some improvements to those APIs without concern for backward-compatibility. And finally, start a Gtk-Doc module for libeutil. It's going to be a project just getting all the symbols _listed_ much less _documented_. But the skeletal structure is in place and I'm off to a good start.
* Avoid gtk_rc_parse_string().Matthew Barnes2012-12-011-8/+18
| | | | Use gtk_css_provider_load_from_data() instead.
* Avoid using GdkEventButton directly in certain places.Matthew Barnes2012-11-301-5/+10
| | | | | | | | | | | | Prefer dealing with GdkEvent pointers and using accessor functions like gdk_event_get_button(). This is complicated by the fact that some GtkWidget method declarations still use GdkEventButton pointers, and synthesizing button events pretty much requires direct GdkEventButton access. But GDK seems to be nudging itself toward sealing the GdkEvent union. Likely to happen in GDK4. Mainly clean up signal handlers and leave method overrides alone for now.
* Coding style and whitespace cleanup.Matthew Barnes2012-11-111-42/+60
|
* Coding style and whitespace cleanup.Matthew Barnes2012-08-201-2/+2
|
* Adapt to single-include E-D-S libraries.Matthew Barnes2012-06-041-2/+2
|
* Fix memory leaks around gtk_tree_model_get() functionMilan Crha2012-05-311-5/+7
|
* Coding style and whitespace cleanup.Matthew Barnes2012-02-201-62/+43
|
* Bug #451377 - Timezone map resizes on mouseoverMilan Crha2011-10-201-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2011-09-041-23/+35
|
* Whitespace and coding style cleanups.Matthew Barnes2011-05-081-1/+2
|
* More whitespace cleanup.Matthew Barnes2011-01-311-1/+1
|
* Coding style and whitespace cleanups.Matthew Barnes2010-09-121-13/+13
|
* Remove comments that have no point after pthreads dependency disappearedFridrich Štrba2010-04-161-3/+4
|
* Giant leap towards GSEAL compliance.Matthew Barnes2010-04-081-4/+6
|
* Coding style and whitespace cleanup.Matthew Barnes2010-01-311-7/+7
|
* Fix a potential uninitialized return value in e-timezone-dialog.c.Matthew Barnes2010-01-161-5/+4
| | | | Caught by the Clang Static Analyzer.
* Coding style and whitespace cleanup.Matthew Barnes2010-01-051-10/+26
|
* Minor ETimezoneDialog cleanup.Matthew Barnes2010-01-031-18/+0
|
* Bug 589153 - Use GtkBuilder instead of libgladeMatthew Barnes2009-11-171-25/+15
|
* Merge commit 'EVOLUTION_2_27_5' into kill-bonoboMatthew Barnes2009-07-281-1/+8
|\
| * Use the right api to check for system timezone.Chenthill Palanisamy2009-07-201-1/+8
| |
| * Fix excessive whitespace.Matthew Barnes2009-07-131-13/+0
| |
| * More code cleanup.Matthew Barnes2009-06-021-3/+3
| |
| * Whitespace cleanup.Matthew Barnes2009-05-291-11/+11
| |
| * Prefer GLib basic types over C types.Matthew Barnes2009-05-291-19/+19
| |
| * Remove trailing whitespace, again.Matthew Barnes2009-05-291-8/+8
| |
* | Fix excessive whitespace.Matthew Barnes2009-07-141-13/+0
| |
* | More code cleanup.Matthew Barnes2009-06-021-3/+3
| |
* | Whitespace cleanup.Matthew Barnes2009-05-291-11/+11
| |
* | Prefer GLib basic types over C types.Matthew Barnes2009-05-271-19/+19
| |
* | Remove trailing whitespace, again.Matthew Barnes2009-05-271-8/+8
|/
* Fix compiler warnings in plugins.Matthew Barnes2009-05-271-6/+1
|
* Fix compiler warnings in widgets.Matthew Barnes2009-05-261-3/+1
|
* Change License from GPL to LGPL. 2nd batch.Sankarasivasubramanian Pasupathilingam2008-09-031-14/+14
| | | | | | More changes to come. svn path=/trunk/; revision=36247
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35665
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-061-7/+0
| | | | | | | | | | 2008-06-06 Matthew Barnes <mbarnes@redhat.com> ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606
* Fix for bug #471779 (Timezone entries in the timezone dialog combo-box are ↵Suman Manjunath2008-02-241-32/+97
| | | | | | now sorted alphabetically) svn path=/trunk/; revision=35077
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-17/+17
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* text/e.entry.[ch] text/e-completion.[ch] text/e-text-model-uri.[ch]Kjartan Maraas2007-10-311-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-26 Kjartan Maraas <kmaraas@gnome.org> * e-timezone-dialog/e-timezone-dialog.c: (get_local_offset), (get_local_timezone), (on_map_visibility_changed), (on_map_button_pressed), (get_zone_from_point), (e_timezone_dialog_set_timezone), (on_combo_changed): * menus/gal-view-factory.c: (gal_view_factory_get_title): * text/Makefile.am: * text/e-text.c: (e_text_event), (popup_targets_received), (next_word), (find_offset_into_line), (_get_position), (e_text_class_init): * text/e.entry.[ch] * text/e-completion.[ch] * text/e-text-model-uri.[ch] * text/e-completion-view.[ch] * text/e-completion-callbacks.[ch] * text/e-completion-match.[ch] * text/e-table-text-model.[ch]: Remove all of these. They are now unused. Warning fixes: - NULL vs 0 vs FALSE - ANSIfication of function declarations svn path=/trunk/; revision=34468
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-2/+2
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* Move away from g_asserts from g_return*.Srinivasa Ragavan2007-08-311-3/+1
| | | | svn path=/trunk/; revision=34142
* Fix compilation warnings in widgets folder (#441014).Matthew Barnes2007-06-031-1/+3
| | | | svn path=/trunk/; revision=33626
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-201-2/+4
| | | | svn path=/trunk/; revision=33432
* Fixes 350559. Disable timeout function when the map is destroyed.Jeff Cai2006-08-201-0/+17
| | | | svn path=/trunk/; revision=32596
* Fix compiler warning.Harish Krishnaswamy2006-06-201-1/+0
| | | | | | | | | 2006-06-20 Harish Krishnaswamy <kharish@novell.com> * e-timezone-dialog/e-timezone-dialog.c (zone_display_name_with_offset): Fix compiler warning. svn path=/trunk/; revision=32179
* Define gmtime_r() and localtime_r() macros for Win32. Should not declareTor Lillqvist2006-06-191-0/+14
| | | | | | | | | | | 2006-06-19 Tor Lillqvist <tml@novell.com> * e-timezone-dialog/e-timezone-dialog.c: Define gmtime_r() and localtime_r() macros for Win32. Should not declare tzname, timezone and daylight on Win32, they are declared properly in <time.h> already. svn path=/trunk/; revision=32176
* Committed fix for bug #204798 , #235691 , #229132Srinivasa Ragavan2006-06-141-15/+112
| | | | svn path=/trunk/; revision=32132
* Tons of cleanups of the following sort: - remove unused vars - removeKjartan Maraas2006-01-301-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-30 Kjartan Maraas <kmaraas@gnome.org> * e-timezone-dialog/e-timezone-dialog.c: (get_zone_from_point): * menus/gal-view-menus.c: * misc/e-attachment-bar.c: (calculate_height_width), (update_remote_file), (e_attachment_bar_get_attachment), (class_init): * misc/e-attachment.c: (async_progress_update_cb), (download_to_local_path): * misc/e-calendar-item.c: (e_calendar_item_get_arg), (e_calendar_item_realize), (e_calendar_item_ensure_days_visible): * misc/e-calendar.c: (e_calendar_drag_motion), (e_calendar_drag_leave), (e_calendar_focus): * misc/e-canvas-background.c: (ecb_get_property): * misc/e-canvas.c: (e_canvas_class_init), (pick_current_item): * misc/e-cell-date-edit.c: (e_cell_date_edit_do_popup), (e_cell_date_edit_show_popup): * misc/e-cell-percent.c: * misc/e-charset-picker.c: (e_charset_picker_bonobo_ui_populate): * misc/e-config-page.c: (e_config_page_class_init): * misc/e-dateedit.c: (e_date_edit_set_date), (e_date_edit_set_date_and_time_of_day), (on_date_popup_date_selected): * misc/e-dropdown-button.c: (e_dropdown_button_class_init): * misc/e-expander.c: (get_expander_bounds), (e_expander_expose), (is_in_expander_panel): * misc/e-filter-bar.c: (option_changed), (build_items): * misc/e-image-chooser.c: (e_image_chooser_init), (image_drag_data_received_cb): * misc/e-map.c: (e_map_size_allocate), (e_map_button_press), (e_map_button_release), (e_map_motion), (e_map_zoom_to_location), (e_map_zoom_out), (update_render_point), (repaint_point), (zoom_in_smooth): * misc/e-multi-config-dialog.c: (impl_response): * misc/e-reflow.c: (e_reflow_realize), (e_reflow_event): * misc/e-search-bar.c: (clear_search), (search_now_verb_cb), (entry_activated_cb), (activate_button_clicked_cb), (clear_button_clicked_cb): * misc/e-selection-model.c: (e_selection_model_key_press): * misc/e-send-options.c: (delay_until_date_changed_cb), (e_sendoptions_get_need_general_options): * misc/e-unicode.c: (e_stripped_char): * table/e-cell-progress.c: (eprog_draw_border), (eprog_draw), (eprog_event): * table/e-cell-spin-button.c: (ecsb_event), (ecsb_focus), (ecsb_unfocus), (ecsb_dispose): * table/e-cell-text.c: (ect_draw), (ect_show_tooltip): * table/e-cell-toggle.c: (etog_draw), (etog_event): * table/e-cell-tree.c: (ect_max_width): * table/e-cell-vbox.c: * table/e-table-click-to-add.c: (etcta_event): * table/e-table-config.c: (create_global_store): * table/e-table-field-chooser-dialog.c: * table/e-table-field-chooser-item.c: (etfci_find_button), (etfci_reflow), (etfci_get_property), (etfci_realize): * table/e-table-field-chooser.c: (e_table_field_chooser_class_init): * table/e-table-group-container.c: (etgc_unrealize): * table/e-table-group.c: (e_table_group_new): * table/e-table-header-item.c: (e_table_header_item_get_height), (ethi_realize), (ethi_event): * table/e-table-header-utils.c: (e_table_draw_elided_string), (e_table_header_draw_button): * table/e-table-item.c: (eti_set_property), (eti_get_property), (eti_draw), (eti_event), (eti_cursor_change): * table/e-table-scrolled.c: (e_table_scrolled_class_init): * table/e-table-search.c: * table/e-table-sort-info.c: (e_table_sort_info_save_to_node): * table/e-table.c: (table_canvas_reflow_idle), (table_canvas_size_allocate), (canvas_vbox_event), (click_to_add_event), (do_drag_motion), (e_table_class_init): * table/e-tree-scrolled.c: (e_tree_scrolled_class_init): * table/e-tree.c: (tree_canvas_reflow_idle), (tree_canvas_size_allocate), (e_tree_drag_get_data), (do_drag_motion), (e_tree_class_init): * text/e-text.c: (e_text_set_property), (e_text_draw), (_do_tooltip), (primary_clear_cb), (_get_position), (e_text_command): Tons of cleanups of the following sort: - remove unused vars - remove extraneous semi-colons - add some comments where assignments were done without using the results later - remove break; statements after return foo; - add casts in some places to be more type correct - rename variables with name clashes - s/if/ifdef in some cases - mark some code static - remove some unused functions - use guint for 1-bit bitfields svn path=/trunk/; revision=31371
* Construct glade file pathname at run-time.Tor Lillqvist2005-12-181-1/+9
| | | | | | | | | | 2005-12-18 Tor Lillqvist <tml@novell.com> * e-timezone-dialog/e-timezone-dialog.c (e_timezone_dialog_construct): Construct glade file pathname at run-time. svn path=/trunk/; revision=30860
* Added widgets in INCLUDES.Kaushal Kumar2005-06-231-1/+1
| | | | | | | | | | | | 2005-06-23 Kaushal Kumar <kakumar@novell.com> * e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am, addressbook/gui/search/Makefile.am, plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES. Updated the include paths to use misc instead of widgets/misc. svn path=/trunk/; revision=29574
* convert to G_DEFINE_TYPEJP Rosevear2004-11-121-12/+6
| | | | | | | | 2004-11-12 JP Rosevear <jpr@novell.com> * e-timezone-dialog/e-timezone-dialog.c: convert to G_DEFINE_TYPE svn path=/trunk/; revision=27903
* Add the label back for previewing the timezone name, and set the labelRodney Dawes2004-09-141-3/+8
| | | | | | | | | | | | | | 2004-09-13 Rodney Dawes <dobey@novell.com> * e-timezone-dialog/e-timezone-dialog.c (get_widgets): (on_map_motion, on_map_leave, e_timezone_dialog_set_timezone): * e-timezone-dialog/e-timezone-dialog.glade: Add the label back for previewing the timezone name, and set the label appropriately Fixes #64800 svn path=/trunk/; revision=27258
* Connect to the "changed" signal instead of "activate"Rodney Dawes2004-08-171-1/+1
| | | | | | | | | | | 2004-08-17 Rodney Dawes <dobey@novell.com> * e-timezone-dialog/e-timezone-dialog.c (e_timezone_dialog_construct): Connect to the "changed" signal instead of "activate" Fixes #62970 svn path=/trunk/; revision=26956
* Use the activate signal, instead of changed, for the combo boxRodney Dawes2004-05-211-1/+10
| | | | | | | | | | | | | | | 2004-05-20 Rodney Dawes <dobey@ximian.com> * e-timezone-dialog/e-timezone-dialog.c (e_timezone_dialog_construct): Use the activate signal, instead of changed, for the combo box (on_map_motion): Set the text in the combo's entry when we mouse over one of the points on the map, as a preview for the timezone (on_map_leave): Reset the combo's entry to the timezone we started with when we leave the map Fixes #57122 svn path=/trunk/; revision=26020
* Set the border widths on the dialog's vbox and action area to beRodney Dawes2004-04-151-26/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-09 Rodney Dawes <dobey@ximian.com> * e-timezone-dialog/e-timezone-dialog.c (e_timezone_dialog_construct): Set the border widths on the dialog's vbox and action area to be HIG-complaint Get rid of the timezone preview widget in here Point the internal 'table' to the right widget (on_map_motion): Get rid of the extra-hacky code to set the preview widget's label to the timezone, now that that widget is gone (on_map_leave): Update the comment to not reference the preview widget that is now gone Get rid of the code to set the preview widget's label to empty string * e-timezone-dialog/e-timezone-dialog.glade: Update for HIG-compliance 2004-04-09 Rodney Dawes <dobey@ximian.com> * e-charset-picker.c: Include gtkhbox.h in here to avoid the warnings (activate_other): (e_charset_picker_dialog): Make these dialogs be more HIG-compliant * e-filter-bar.c (do_advanced): (menubar_activated): Make these dialogs be more HIG-compliant svn path=/trunk/; revision=25468
* don't reference uninitialized memoryJP Rosevear2004-02-271-4/+3
| | | | | | | | | 2004-02-26 JP Rosevear <jpr@ximian.com> * e-timezone-dialog/e-timezone-dialog.c (e_timezone_dialog_dispose): don't reference uninitialized memory svn path=/trunk/; revision=24892
* Don't crash if there's no timezone set initially. #39783Dan Winship2003-03-181-4/+6
| | | | | | | * e-timezone-dialog/e-timezone-dialog.c (on_map_motion): Don't crash if there's no timezone set initially. #39783 svn path=/trunk/; revision=20313
* kill an unused variableDan Winship2003-03-141-1/+0
| | | | svn path=/trunk/; revision=20276
* Various cleanups. (e_timezone_dialog_get_timezone): Return anDan Winship2003-03-121-126/+100
| | | | | | | | | | * e-timezone-dialog/e-timezone-dialog.c: Various cleanups. (e_timezone_dialog_get_timezone): Return an icaltimezone. (e_timezone_dialog_set_timezone): Take an icaltimezone (e_timezone_dialog_construct): Set a minimum size on the scrolled window svn path=/trunk/; revision=20255
* menus/gal-view-menus.h GObjectified.Ettore Perazzoli2002-11-141-56/+47
| | | | | | | | | | * menus/gal-view-menus.h * menus/gal-view-menus.c: GObjectified. * e-timezone-dialog/e-timezone-dialog.h * e-timezone-dialog/e-timezone-dialog.c: GObjectified. svn path=/trunk/; revision=18747
* (e_timezone_dialog_get_builtin_timezone): Constify argEttore Perazzoli2002-11-041-1/+1
| | | | | | display_name. svn path=/trunk/; revision=18508
* First big sync of my GNOME 2 porting work (incomplete, and stillEttore Perazzoli2002-11-021-4/+3
| | | | | | | | pretty broken). Weeeeee! svn path=/trunk/; revision=18503
* (e_timezone_dialog_init):Ettore Perazzoli2002-07-061-0/+2
| | | | | | Make not floating. svn path=/trunk/; revision=17374
* translate timezone names, and provide a function to get back to theDamon Chaplin2002-01-121-9/+45
| | | | | | | | | 2002-01-11 Damon Chaplin <damon@ximian.com> * e-timezone-dialog/e-timezone-dialog.[hc]: translate timezone names, and provide a function to get back to the English version. svn path=/trunk/; revision=15303
* More fixing of the license texts.Ettore Perazzoli2001-10-281-9/+9
| | | | svn path=/trunk/; revision=14241
* Startup assistant stuffIain Holmes2001-08-171-0/+681
svn path=/trunk/; revision=12145