summaryrefslogtreecommitdiff
path: root/gtk/gtkaboutdialog.c
Commit message (Collapse)AuthorAgeFilesLines
* Correct docs for program-name property. (#496689, Thomas Wood)Matthias Clasen2007-11-191-2/+2
| | | | | | | | | | | 2007-11-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c: Correct docs for program-name property. (#496689, Thomas Wood) svn path=/trunk/; revision=18999
* Functions: gtk_about_dialog_get/set_name() were deprecated in favour ofTristan Van Berkom2007-05-141-4/+43
| | | | | | | | | | * gtk/gtkaboutdialog.c: Functions: gtk_about_dialog_get/set_name() were deprecated in favour of gtk_about_dialog_get/set_program_name(), the GtkAboutDialog now uses the "program-name" property instead of the conflicting "name" property (fixes bug 345822). svn path=/trunk/; revision=17845
* Remove unnecessary NULL checks before g_free(). (#369666, Morten Welinder,Matthias Clasen2007-03-091-3/+3
| | | | | | | | | | | | | 2007-03-09 Matthias Clasen <mclasen@redhat.com> * Everywhere: Remove unnecessary NULL checks before g_free(). (#369666, Morten Welinder, Djihed Afifi) * configure.in: Check for ftw.h svn path=/trunk/; revision=17444
* call gdk_event_request_motions() for new motion events after receivingTim Janik2007-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | Tue Feb 6 15:53:59 2007 Tim Janik <timj@imendio.com> * gtk/gtktextview.c (gtk_text_view_motion_event): * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify): * gtk/gtkaboutdialog.c (credits_motion_notify_event): * gtk/gtkhruler.c (gtk_hruler_motion_notify): * gtk/gtkvruler.c (gtk_vruler_motion_notify): * gtk/gtkentry.c (gtk_entry_motion_notify): * gtk/gtktooltip.c (_gtk_tooltip_handle_event): * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions() for new motion events after receiving motion hints. * gdk/gdkevents.[hc]: added gdk_event_request_motions(). svn path=/trunk/; revision=17269
* Hide the Credits button iff there are no credits to show. Bug #402806.Christian Persch2007-01-311-8/+22
| | | | | | | | | | | | 2007-01-31 Christian Persch <chpe@svn.gnome.org> * gtk/gtkaboutdialog.c: (update_credits_button_visibility), (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters), (gtk_about_dialog_set_artists), (gtk_about_dialog_set_translator_credits): Hide the Credits button iff there are no credits to show. Bug #402806. svn path=/trunk/; revision=17242
* Set the HIG spacings directly instead of using style-set handlers. Fix theChristian Persch2006-12-251-51/+27
| | | | | | | | | | | | | | | | | | | | | 2006-12-25 Christian Persch <chpe@cvs.gnome.org> * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init), (gtk_about_dialog_init), (display_credits_dialog), (display_license_dialog): * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init), (gtk_file_chooser_dialog_init), (gtk_file_chooser_dialog_constructor), (gtk_file_chooser_dialog_unmap): * gtk/gtkrecentchooserdefault.c: (_gtk_recent_chooser_default_init): * gtk/gtkrecentchooserdialog.c: (gtk_recent_chooser_dialog_class_init), (gtk_recent_chooser_dialog_init), (gtk_recent_chooser_dialog_constructor), (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly instead of using style-set handlers. Fix the filechooser's spacing between content and action area to 12px. Bug #372447.
* Put initial focus on Close button (#337261).Christian Persch2006-10-261-2/+6
| | | | | | 2006-10-26 Christian Persch <chpe@cvs.gnome.org> * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
* Apply a cleanup patch by Kjartan Maraas (#341812)Matthias Clasen2006-10-081-5/+0
| | | | | | 2006-10-08 Matthias Clasen <mclasen@redhat.com> * Apply a cleanup patch by Kjartan Maraas (#341812)
* Set CAN_DEFAULT on all buttons. (#168737, fix proposed by Benjamin Berg)Matthias Clasen2006-08-151-0/+2
| | | | | | | 2006-08-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Set CAN_DEFAULT on all buttons. (#168737, fix proposed by Benjamin Berg)
* Improve consistency of signal and property namesMatthias Clasen2006-07-061-4/+4
|
* Documentation additions and fixes.Matthias Clasen2006-06-291-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2006-06-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprinter.c: * gtk/gtkprintunixdialog.c: * gtk/gtkprintoperationpreview.c: * gtk/gtkprintcontext.c (gtk_print_context_set_cairo_context): * gtk/gtklabel.c (gtk_label_set_line_wrap_mode): * gtk/gtkentry.c (gtk_entry_new): * gtk/gtkprintoperation.c (gtk_print_operation_set_custom_tab_label): * gtk/gtkclipboard.c (gtk_clipboard_wait_for_rich_text): Documentation additions and fixes. * gtk/gtkaspectframe.h: * gtk/gtkaboutdialog.c: * gtk/gtkcalendar.c: * gtk/gtkinputdialog.c: * gtk/gtk.symbols: Remove unnecessary includes. * gtk/gtkprogress.[hc]: * gtk/gtkitemfactory.[hc]: Don't unnecessarily use GTK_COMPILATION, remove unnecessary includes.
* More of the sameMatthias Clasen2006-05-141-1/+1
|
* Use g types, add documentation, and some stylistic fixups.Matthias Clasen2006-04-241-1/+1
| | | | | | | | | | | | 2006-04-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprinter-private.h: * gtk/gtkprintbackend.h: * gtk/gtkprinter.[hc]: * gtk/gtkprintjob.[hc]: Use g types, add documentation, and some stylistic fixups. * gtk/gtkaboutdialog.c (activate_url): Avoid a compiler warning.
* Make the behaviour of the about dialog consistent with other dialogs inMatthias Clasen2006-03-101-24/+24
| | | | | | | | | | | | | 2006-03-10 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (gtk_show_about_dialog): Make the behaviour of the about dialog consistent with other dialogs in gtk. If the dialog is constructed with gtk_about_dialog_new(), the creator is reponsible for handling the response by hiding or closing the dialog. gtk_show_about_dialog() handles it by hiding the dialog. (#333360, Daniel Drake) * README.in: Mention this change.
* Fix macro declarationMatthias Clasen2006-02-231-19/+0
| | | | | | | | 2006-02-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtktextiter.c: Fix macro declaration * gtk/gtkaboutdialog.c: Remove an accidentally included function.
* Change Close buttons to GTK_RESPONSE_CANCEL so Escape works. (#331940,Matthias Clasen2006-02-221-6/+28
| | | | | | | 2006-02-22 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c: Change Close buttons to GTK_RESPONSE_CANCEL so Escape works. (#331940, Daniel Drake)
* Add GtkLinkButton, a port of GnomeHRef. (#314808, Emmanuele Bassi)Matthias Clasen2006-01-241-92/+7
| | | | | | | | | | | | | | | 2006-01-23 Matthias Clasen <mclasen@redhat.com> Add GtkLinkButton, a port of GnomeHRef. (#314808, Emmanuele Bassi) * gtk/gtklinkbutton.h: * gtk/gtklinkbutton.c: New files. * gtk/gtk.h: * gtk/gtk.symbols: * gtk/Makefile.am: Glue. * gtk/gtkaboutdialog.c: Use GtkLinkButton.
* Add link-color and visited-link-color style properties. (#113649, LeenaMatthias Clasen2006-01-241-29/+82
| | | | | | | | | | 2006-01-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwidget.c: Add link-color and visited-link-color style properties. (#113649, Leena Gunda) * gtk/gtkaboutdialog.c: Use the new style properties here instead of the about dialogs own link-color property.
* deprecated floating/sink API and implemented it in terms of the GObjectTim Janik2005-11-231-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed Nov 23 18:55:47 2005 Tim Janik <timj@imendio.com> * gtk/gtkobject.[hc]: deprecated floating/sink API and implemented it in terms of the GObject floating/sink API. * gtk/gtkaboutdialog.c: * gtk/gtkaction.c: * gtk/gtkcellview.c: * gtk/gtkclist.c: * gtk/gtkcolorsel.c: * gtk/gtkcombobox.c: * gtk/gtkfilechooserdefault.c: * gtk/gtkiconview.c: * gtk/gtkinvisible.c: * gtk/gtkitemfactory.c: * gtk/gtklayout.c: * gtk/gtkmenu.c: * gtk/gtkmenutoolbutton.c: * gtk/gtknotebook.c: * gtk/gtkprogress.c: * gtk/gtkrange.c: * gtk/gtkspinbutton.c: * gtk/gtkstatusicon.c: * gtk/gtktext.c: * gtk/gtktextview.c: * gtk/gtktoolbar.c: * gtk/gtktoolbutton.c: * gtk/gtktoolitem.c: * gtk/gtktreeitem.c: * gtk/gtktreeview.c: * gtk/gtktreeviewcolumn.c: * gtk/gtkuimanager.c: * gtk/gtkviewport.c: * gtk/gtkwidget.c: * gtk/gtkwindow.c: ported to use GObject's g_object_ref_sink(). * gtk/gtkcolorsel.c: * gtk/gtkfilechooserdefault.c: * gtk/gtkaboutdialog.c: fixed compiler warnings.
* Fix the buildMatthias Clasen2005-10-281-1/+1
|
* Add the little stars. (#319985, Bastien Nocera)Matthias Clasen2005-10-281-2/+4
| | | | | | | 2005-10-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Add the little stars. (#319985, Bastien Nocera)
* Various cleanups. (#315360, Kjartan Maraas)Matthias Clasen2005-09-131-2/+0
| | | | | | 2005-09-13 Matthias Clasen <mclasen@redhat.com> * gtk/*.c: Various cleanups. (#315360, Kjartan Maraas)
* Intern some more strings.Matthias Clasen2005-09-011-6/+6
| | | | | | | | | 2005-09-01 Matthias Clasen <mclasen@redhat.com> * gdk/*.c: Intern some more strings. * gtk/gtkintl.h: * gtk/*.c: Define an I_() macro and use it instead of the bulky g_intern_static_string().
* Also intern static strings passed to g_object_set_data()Matthias Clasen2005-08-311-6/+11
|
* Fix a Since: markerMatthias Clasen2005-07-051-1/+1
|
* Add a GtkAboutDialog::wrap-license propertyMatthias Clasen2005-07-051-3/+83
|
* Protect the license and credits buttons from being affected byMatthias Clasen2005-04-051-0/+2
| | | | | | | | 2005-04-05 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Protect the license and credits buttons from being affected by gtk_widget_show_all(). (#172724)
* Use canonical names for g_object_notify() as well.Matthias Clasen2005-03-261-3/+3
| | | | | | | | 2005-03-26 Matthias Clasen <mclasen@redhat.com> * gtk/*.c: * gdk/gdkdisplaymanager.c: Use canonical names for g_object_notify() as well.
* Define macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITEMatthias Clasen2005-03-221-16/+15
| | | | | | | | | | | | 2005-03-21 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprivate.h: Define macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE which are like their G_ counterparts, but also mark the name, nick and blurb as static. * gtk/*.c: Mark param spec strings as static, using the new macros.
* : Mark param spec strings as static.Matthias Clasen2005-03-211-14/+16
|
* Make PLT-reduction work with gcc4, and don't include everything inMatthias Clasen2005-03-201-2/+5
| | | | | | | | | | | | | | | | | | 2005-03-20 Matthias Clasen <mclasen@redhat.com> Make PLT-reduction work with gcc4, and don't include everything in gdkalias.h: * gtk/grk.symbols: Group symbols by header and source file. * gtk/makegtkalias.pl: Protect definitions by the same preprocessor symbols used to guard the headers. Move the alias declarations to a separate file which is produced when calling makegtkalias.pl -def * gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate this file. * gtk/*.c: Include gtkalias.h after the other headers, include gtkaliasdef.c at the bottom. * gtk/*.h: Small cleanups.
* Make it compileMatthias Clasen2005-03-121-1/+1
|
* Don't crash on style changes. (#169334, Yury Puzis)Matthias Clasen2005-03-121-2/+2
| | | | | | | 2005-03-11 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (add_credits_page): Don't crash on style changes. (#169334, Yury Puzis)
* More canonical property names.Matthias Clasen2005-03-091-4/+4
|
* Move initialization code from _new to _init. (#168249, Murray Cumming)Matthias Clasen2005-02-241-10/+8
| | | | | | | | 2005-02-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (gtk_about_dialog_init) (gtk_about_dialog_new): Move initialization code from _new to _init. (#168249, Murray Cumming)
* Some visual tweaks to the about dialog, obey HIG spacing a bit more, add aMatthias Clasen2005-01-271-3/+71
| | | | | | | | 2005-01-27 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c: Some visual tweaks to the about dialog, obey HIG spacing a bit more, add a hand cursor when over the link button. (#163979, Jorn Baayen)
* Make it compileMatthias Clasen2005-01-261-0/+8
|
* Make sure the license dialog is initially displayed without a horizontalMatthias Clasen2005-01-261-2/+4
| | | | | | | | | | 2005-01-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (display_license_dialog): Make sure the license dialog is initially displayed without a horizontal scrollbar. (gtk_about_dialog_class_init): Document the fact that the license text is not wrapped. (#165012, Christian Rose)
* Use R as mnemonic for the Credits button to avoid duplicate. (#163465,Matthias Clasen2005-01-131-1/+1
| | | | | | | | 2005-01-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Use R as mnemonic for the Credits button to avoid duplicate. (#163465, Tim-Philipp Müller)
* Add missing initializations. (#161646, Torsten Schoenfeld)Matthias Clasen2004-12-191-2/+3
| | | | | | | | 2004-12-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (gtk_about_dialog_get_logo_icon_name): (gtk_about_dialog_init): Add missing initializations. (#161646, Torsten Schoenfeld)
* gdk/linux-fb/gdkgc-fb.c gdk/win32/gdkgc-win32.cManish Singh2004-11-191-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fri Nov 19 14:54:09 2004 Manish Singh <yosh@gimp.org> * gdk/linux-fb/gdkgc-fb.c * gdk/win32/gdkgc-win32.c * gdk/win32/gdkwindow-win32.c * gtk/gtkaboutdialog.c * gtk/gtkaction.c * gtk/gtkactiongroup.c * gtk/gtkcellrendererprogress.c * gtk/gtkcellview.c * gtk/gtkcolorbutton.c * gtk/gtkcombobox.c * gtk/gtkcomboboxentry.c * gtk/gtkentrycompletion.c * gtk/gtkfilechooserbutton.c * gtk/gtkmenutoolbutton.c * gtk/gtkrc.c * gtk/gtksettings.c * gtk/gtkstyle.c * gtk/gtktoggletoolbutton.c * gtk/gtktoolbutton.c * gtk/gtktoolitem.c * gtk/gtktreemodelfilter.c * gtk/gtktreeselection.c * gtk/gtktreeviewcolumn.c * gtk/gtkuimanager.c: get rid of unnecessary casts. * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_set_property): cast away the const for g_value_set_enum. This is after the g_warning, so this is a hack to begin with. * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_set_property): add a cast to GTK_FILE_CHOOSER for impl here.
* Destroy the correct data. (#158522, John Finlay)Matthias Clasen2004-11-171-2/+2
| | | | | | | | 2004-11-17 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (gtk_about_dialog_set_email_hook) (gtk_about_dialog_set_url_hook): Destroy the correct data. (#158522, John Finlay)
* Hide the website button if the url is unset. (#157630, John Finlay)Matthias Clasen2004-11-081-0/+1
| | | | | | | 2004-11-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Hide the website button if the url is unset. (#157630, John Finlay)
* Change the return types of the gchar ** getters to be more const correct.Matthias Clasen2004-11-081-15/+15
| | | | | | | | 2004-11-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.[hc]: Change the return types of the gchar ** getters to be more const correct. (#157566, Mariano Suárez-Alvarez)
* Documentation updates.Matthias Clasen2004-11-041-1/+115
| | | | | | 2004-11-04 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c: Documentation updates.
* Doc update.Matthias Clasen2004-11-011-0/+2
| | | | | | 2004-11-01 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (gtk_show_about_dialog): Doc update.
* Fix many sparse warnings.Matthias Clasen2004-10-281-2/+2
|
* Destroy the dialog with the parent. (#156557, Paolo Borelli)Matthias Clasen2004-10-281-0/+1
| | | | | | | 2004-10-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (gtk_show_about_dialog): Destroy the dialog with the parent. (#156557, Paolo Borelli)
* Support named icons as logos. (#156378, James Henstridge)Matthias Clasen2004-10-251-3/+101
| | | | | | | | | 2004-10-25 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.h: * gtk/gtkaboutdialog.c (gtk_about_dialog_set_logo_icon_name) (gtk_about_dialog_get_logo_icon_name): Support named icons as logos. (#156378, James Henstridge)
* Destroy secondary dialogs if the main dialog is hidden. (#155084, PaoloMatthias Clasen2004-10-171-23/+22
| | | | | | | 2004-10-17 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (gtk_about_dialog_new): Destroy secondary dialogs if the main dialog is hidden. (#155084, Paolo Borelli)