summaryrefslogtreecommitdiff
path: root/gtk/gtkpagesetupunixdialog.c
Commit message (Collapse)AuthorAgeFilesLines
* docs: use apostrophes in *n'tWilliam Jon McCann2014-02-071-1/+1
|
* docs: Use markup for linksWilliam Jon McCann2014-02-071-2/+2
|
* resources: move resources into a subdirectoryWilliam Jon McCann2014-01-231-1/+1
|
* docs: fix links to print apiWilliam Jon McCann2014-01-211-1/+1
|
* page setup dialog: Use headerbarWilliam Jon McCann2014-01-171-6/+14
| | | | | | Make the page setup dialog use a headerbar when desired. https://bugzilla.gnome.org/show_bug.cgi?id=720059
* Update all internal users of alternative button orderMatthias Clasen2014-01-171-1/+2
| | | | | We'll keep this code around for now to not regress on Windows, but avoid deprecation warnings.
* Bug 467720 - Useless use of const qualifierBehdad Esfahbod2013-09-281-1/+1
|
* Another round of template binding api changesMatthias Clasen2013-07-261-11/+11
| | | | | | | | | | | We rename the gtk_widget_class_bind_template_child{_internal} macros by appending a _private to their name. Otherwise, it would be too magic to pass the 'public' names as arguments, but affect a member of the Private struct. At the same time, Add two new macros with the old names, gtk_widget_class_bind_template_child{_internal} that operate on members of the instance struct.
* Rename the widget template APIEmmanuele Bassi2013-07-261-14/+14
| | | | | | | | | | | | | | | | | | | | The macros and functions are inconsistently named, and are not tied to the "template" concept - to the point that it seems plausible to use them without setting the template. The new naming scheme is as follows: gtk_widget_class_bind_template_child_full gtk_widget_class_bind_template_callback_full With the convenience macros: gtk_widget_class_bind_template_child gtk_widget_class_bind_template_child_internal gtk_widget_class_bind_template_callback https://bugzilla.gnome.org/show_bug.cgi?id=700898 https://bugzilla.gnome.org/show_bug.cgi?id=700896
* widget: Use a real offset in gtk_widget_class_automate_childAlexander Larsson2013-07-261-11/+11
| | | | | | | | | | Using an offset from the struct means you can have children in both the public and private (via G_PRIVATE_OFFSET) parts of the instance. It also matches the new private macros nicer. https://bugzilla.gnome.org/show_bug.cgi?id=702563 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* Drop some unnecessary includesMatthias Clasen2013-07-191-1/+0
| | | | | Drop includes of deprecated headers where they are no longer needed.
* Move wholly deprecated classes to gtk/deprecated/Matthias Clasen2013-07-191-1/+1
| | | | | | | | | | | | | | | | | | We've recently a number of classes wholly. For these cases, move the headers and sources to gtk/deprecated/ and adjust Makefiles and includes accordingly. Affected classes: GtkAction GtkActionGroup GtkActivatable GtkIconFactory GtkImageMenuItem GtkRadioAction GtkRecentAction GtkStock GtkToggleAction GtkUIManager
* gtk: Use new macros for defining private dataEmmanuele Bassi2013-07-091-6/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996
* GtkPageSetupUnixDialog: Define children with a GtkBuilder templateTristan Van Berkom2013-04-081-157/+51
|
* Bug 595615 — Use proper ellipsesPhilip Withnall2012-11-261-1/+1
| | | | | | Use ‘…’ instead of ‘...’ in translatable strings. Closes: https://bugzilla.gnome.org/show_bug.cgi?id=595615
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* GtkPageSetupUnixDialog: replace GtkTable by GtkGridMatthias Clasen2011-08-281-283/+268
|
* gtkpagesetupunixdialog: gtk_misc_set_alignmentDiego Celix2011-06-101-4/+8
| | | | | | | | Replacing the function gtk_misc_set_alignment () with gtk_widget_set_halign () and gtk_widget_set_valign () in gtk/gtkpagesetupunixdialog.c https://bugzilla.gnome.org/show_bug.cgi?id=650762
* More include cleanupsMatthias Clasen2011-06-071-4/+0
|
* GtkPageSetupUnixPrintDialog: remove an unneeded includeMatthias Clasen2011-06-071-1/+0
|
* Kill one more unused variableMatthias Clasen2011-01-231-2/+0
|
* [GI] Add missing (transfer) annotationsPavel Holejsovsky2011-01-201-2/+2
|
* gtk: remove "gboolean homogeneous" from gtk_box_new()Michael Natterer2010-11-021-1/+1
| | | | Because it's FALSE in virtually all use cases.
* Use gtk_box_new() instead gtk_[v|h]box_new()Javier Jardón2010-10-301-1/+1
|
* Assign all g_signal_connect() and friends to gulong variablesAlberto Garcia2010-10-221-1/+1
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=87821
* Remove separators from dialogsMatthias Clasen2010-09-021-1/+0
| | | | | It seems more reasonable to remove this feature than to keep fighting off every separator that pops up by accident in a dialog.
* gtkpagesetupunixdialog: unseal private pointerJavier Jardón2010-07-131-5/+4
|
* Use accessor functions to access GtkDialogJavier Jardón2010-07-131-4/+8
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-5/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* Move documentation to inline comments: GtkPageSetupUnixDialogJavier Jardón2010-05-131-0/+15
|
* [annotations] Add allow-noneJohan Dahlin2010-02-191-2/+2
| | | | | | | | This commit was created using a script that searched for all docstrings containing a parameter and the string 'or %NULL'. Gdk backends and demos excluded as they are not part of a public API https://bugzilla.gnome.org/show_bug.cgi?id=610474
* Fix declaration of gtk_print_job_set_statusMatthias Clasen2010-01-171-1/+0
| | | | The problem was reported in bug 606698.
* g_strdup_print does not exist, the function is g_strdup_printf.Xan Lopez2009-07-201-1/+1
|
* Remove markup from translatable stringsMatthias Clasen2009-07-201-10/+12
| | | | Pointed out in bug 588964. String change !
* Add paper size combo and orientation combo to print dialogMarek Kasik2009-07-101-894/+25
| | | | | | | | | | | | | | | | | | | | | Paper size combo and orientation combo can be added by gtk_print_operation_set_embed_page_setup_dialog() to GtkPrinUnixDialog now. This function induce calling of gtk_print_unix_dailog_set_embed_page_setup_dialog() after creation of dialog. These two functions control embed-page-setup-dialog properties in GtkPrintOperation and in GtkPrintUnixDialog. There is also new function gtk_print_unix_dialog_get_page_setup_set() which says whether page setup was set by user. Selected page setup is stored as default page setup in GtkPrintOperation. New class is added, its name is GtkCustomPaperUnixDialog. The class manages custom sizes. It is derived from GtkPageSetupUnixDialog's CustomPaperDialog structure. Page layout preview is modified, so, it shows dimensions of current page setup (mm or inch - depends on locale). It also shows the name of actual paper if page setup dialog is not embedded (paper size combo is not visible). gtk-demo is actualized to include this new feature.
* RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" sizeMatthias Clasen2008-05-211-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | was chosen Patch by Marek Kasik. * gtk/gtk.symbols: * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size. * gtk/gtkprintbackend.[hc]: Add fallback implementation. * modules/printbackends/file/gtkprintbackendfile.c: * modules/printbackends/cups/gtkprintbackendcups.c: Implement get_default_page_size. * gtk/gtkpagesetupunixdialog.c: When selecting a different printer, select its default paper size. * gtk/gtkprintunixdialog.c: If no explicit page setup has been set, use the printer default. * gtk/gtkprintoperation-unix.c: Don't create an empty page setup if we don't have a default page setup. svn path=/trunk/; revision=20120
* Make the labels left-aligned, and remove an obsolete event box. BugChristian Persch2008-01-061-15/+12
| | | | | | | | | 2008-01-06 Christian Persch <chpe@gnome.org> * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned, and remove an obsolete event box. Bug #506760. svn path=/trunk/; revision=19318
* added alternative button order in Print and Page Setup dialogs.Yevgen Muntyan2007-12-071-0/+4
| | | | | | | | | | | 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu> * gtk/gtkprintunixdialog.c: * gtk/gtkpagesetupunixdialog.c: added alternative button order in Print and Page Setup dialogs. svn path=/trunk/; revision=19126
* Port to use new tooltips API. (#451397, Jan Arne Petersen)Matthias Clasen2007-07-241-8/+2
| | | | | | | | | | | | | 2007-07-24 Matthias Clasen <mclasen@redhat.com> * gtkcolorsel.c: * gtkfilechooserdefault.c: * gtkpagesetupunixdialog.c: * gtkprintunixdialog.c: Port to use new tooltips API. (#451397, Jan Arne Petersen) svn path=/trunk/; revision=18539
* missing #include <ctype.h>.Yevgen Muntyan2007-05-231-1/+0
| | | | | | | | | | | | | | | | | | | 2007-05-23 Yevgen Muntyan <muntyan@tamu.edu> * gtk/gtkprintunixdialog.c: missing #include <ctype.h>. * gtk/gtkhandlebox.c (gtk_handle_box_paint): * gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers): * gtk/gtkstatusbar.c (gtk_statusbar_get_context_id): * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): * gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request): * gtk/gtkpreview.c (gtk_preview_finalize): * gtk/gtknotebook.c (gtk_notebook_set_group_id): * tests/testnotebookdnd.c (window_creation_function): * tests/testiconview.c (do_popup_menu): Fixed some compiler warnings (#440689). svn path=/trunk/; revision=17898
* Rename gtk_paper_size_get_builtins() to gtk_paper_size_get_paper_sizes()Matthias Clasen2007-04-301-6/+26
| | | | | | | | | | | | | | | | | | | 2007-04-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkpapersize.[hc]: Rename gtk_paper_size_get_builtins() to gtk_paper_size_get_paper_sizes() and optionally include custom paper sizes. * gtk/gtkpagesetupunixdialog.c: Internally export a function to load custom paper sizes. * modules/printbackends/file/gtkprintbackendfile.c: Implement printer_list_papers, returning all paper sizes. (#434329, Christian Persch) svn path=/trunk/; revision=17728
* Add a new error codeMatthias Clasen2007-04-291-51/+3
| | | | | | | | | | | | | | | | | | | | | 2007-04-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprintoperation.h: Add a new error code * gtk/gtk.symbols: * gtk/gtkpagesetup.[hc]: * gtk/gtkpapersize.[hc]: * gtk/gtkprintsettings.[hc]: Add functions to serialize and deserialize page setups and print settings to files and key files. (#344515, Christian Persch) * gtk/gtkpagesetupunixdialog.c: Adapt to the new functions. * tests/print-editor.c: Use the new functions to persist page setup and print settings. svn path=/trunk/; revision=17697
* Free the custom paper list. (#403267, Felix Riemann)Matthias Clasen2007-04-291-0/+6
| | | | | | | | | | | 2007-04-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize): Free the custom paper list. (#403267, Felix Riemann) svn path=/trunk/; revision=17695
* Make gtk_printer_has_details() and gtk_printer_request_details() public.Matthias Clasen2007-04-291-4/+4
| | | | | | | | | | | | | | | | | 2007-04-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkprinter-private.h: * gtk/gtkprinter.[hc]: Make gtk_printer_has_details() and gtk_printer_request_details() public. * gtk/gtkpagesetupunixdialog.c: * gtk/gtkprintunixdialog.c: Update callers. (#389203, Christian Persch) svn path=/trunk/; revision=17690
* Fix mem leaks. Bug #389194.Christian Persch2006-12-251-0/+2
| | | | | | | 2006-12-25 Christian Persch <chpe@cvs.gnome.org> * gtk/gtkpagesetupunixdialog.c: (printer_status_cb), (add_custom_paper): Fix mem leaks. Bug #389194.
* Make gtk_printer_list_papers public. Bug #345587.Christian Persch2006-12-241-1/+1
| | | | | | | | | | | 2006-12-24 Christian Persch <chpe@cvs.gnome.org> * docs/reference/gtk/gtk-sections.txt: * gtk/gtk.symbols: * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer): * gtk/gtkprinter-private.h: * gtk/gtkprinter.c: (gtk_printer_list_papers): * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
* Don't ignore reverse portrait option when is selected in page setupCarlos Garcia Campos2006-12-241-2/+5
| | | | | | 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org> * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option when is selected in page setup dialog. Fixes bug #365047.
* Apply a patch by Behdad Esfahbod to reduce relocations. (#359053)Matthias Clasen2006-10-031-1/+1
| | | | | | | 2006-10-03 Matthias Clasen <mclasen@redhat.com> * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to reduce relocations. (#359053)
* Fix 344867Matthias Clasen2006-06-141-106/+81
|
* Cosmetic cleanups.Matthias Clasen2006-06-121-3/+6
| | | | | | | | | 2006-06-12 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprintjob.c: * gtk/gtkprintbackend.c: * gtk/gtkpagesetupunixdialog.c: * gtk/gtkprintunixdialog.c: Cosmetic cleanups.