| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Otherwise we won't be able to access it to get the URI for the
GtkPrinterOption.
This fixes a regression introduced in commit 5f070ff2333.
|
|
|
|
| |
These are all on GtkBox or enumerating children.
|
|\
| |
| |
| |
| | |
print-editor: Bring back the menubar
See merge request GNOME/gtk!1875
|
| |
| |
| |
| |
| |
| | |
The new_location can be NULL, as we clearly
knew earlier in the function. We've forgotten
about that by the time we unref it :(
|
| |
| |
| |
| |
| | |
Replace all remaining uses of gtk_widget_destroy
by gtk_container_remove or g_object_unref.
|
|/
|
|
|
| |
Replace calls to gtk_widget_destroy on windows
with gtk_window_destroy.
|
| |
|
|
|
|
|
| |
Overwrite confirmation should not be optional, and it should not loop
into application code to create their own dialog and user response.
|
|
|
|
|
|
|
|
|
|
|
|
| |
GtkFileChooser's API predates GIO by a few years, so it started off with
filenames and URI as character arrays. After introducing GIO as a
dependency, the API included GFile-based entry points.
It's much more appropriate to use GFile everywhere, as we want to
encourage people to use GIO instead of passing random bytes to low level
POSIX API.
See: #2455
|
| |
|
|
|
|
| |
All uses of it can be replaced by gtk_widget_get_root.
|
|
|
|
| |
Avoid duplicating GtkEditable APIs. Port existing users.
|
|
|
|
| |
Avoid compilation warnings about internal users of gtk_window_present().
|
|
|
|
| |
It might soon go away!
|
|
|
|
|
|
|
|
| |
Instead, add a function gtk_image_set_icon_size() for the cases where
overriding the icon size is necessary.
Treat icon sizes the same way as pixel sizes, too. So gtk_image_clear()
no longer unsets the icon size.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch makes that work using 1 of 2 options:
1. Add all missing enums to the switch statement
or
2. Cast the switch argument to a uint to avoid having to do that (mostly
for GdkEventType).
I even found a bug while doing that: clearing a GtkImage with a surface
did not notify thae surface property.
The reason for enabling this flag even though it is tedious at times is
that it is very useful when adding values to an enum, because it makes
GTK immediately warn about all the switch statements where this enum is
relevant.
And I expect changes to enums to be frequent during the GTK4 development
cycle.
|
|
|
|
| |
GtkWidget:halign and GtkWidget:valign are sufficient
|
|
|
|
| |
GtkWidget already has hexpand/vexpand properties.
|
| |
|
|
|
|
|
| |
Some places were missing the right valign setting to make
baselines line up properly.
|
|
|
|
| |
This avoids pointless allocations
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=702996
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Printing a web page without window.print (which still segfault),
that is Ctrl+P is fixed (does not attempt to execute the
source_changed_handler on a printeroptionwidget that has been
destroyed) by disconnecting this handler in the printeroptionwidget
finalize.
https://bugzilla.gnome.org/show_bug.cgi?id=696622
|
|
|
|
|
|
| |
The file type radio group has a mnemonic on its label, but
activating it did not work, since GtkPrinterOptionWidget did
not know to forward the activation to one of the buttons.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* This patch gets rid of the separated
fields for selecting a print to file
target by removing the folder selection
button and the entry. It is replaced by
a browse button, which opens a file
selection dialog, that can select both
the path AND the filename.
* If the filename is relativ to the home
folder it will substitute ~/ instead of
the home folder. Additionally if the
resulting filename is longer than 30
characters, it cut of the first part
and replace it by '...' so that
the button text never gets too long.
https://bugzilla.gnome.org/show_bug.cgi?id=682129
|
| |
|
|
|
|
|
|
| |
This patch modifies GtkPrinterOptionWidget to support loading them
again. It also allows the user to enter values from the dropdown list
to select the item.
|
|
|
|
|
|
|
| |
Stop widget creating an event before updating both directory and
filename values.
https://bugzilla.gnome.org/show_bug.cgi?id=603823
|
| |
|
|
|
|
|
|
|
|
| |
Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
gtk/gtkprinteroptionwidget.c
https://bugzilla.gnome.org/show_bug.cgi?id=650762
|
|
|
|
| |
Signed-off-by: Richard Hughes <richard@hughsie.com>
|
|
|
|
| |
It seems GtkHBox got dropped since my patch was reviewed. Oopsie.
|
|
|
|
|
|
| |
from the print backend
This fixes https://bugzilla.gnome.org/show_bug.cgi?id=652103
|
| |
|
| |
|
|
|
|
| |
Because it's FALSE in virtually all use cases.
|
| |
|
|
|
|
| |
Remove workaround for entries - the general codepath should just work.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GtkComboBox now sports a construct-only "has-entry" property which
decides if it uses a GtkEntry to allow additional user input. Also
it has a new "entry-text-column" to fetch strings for the entry
from the model.
This patch deprecates the GtkComboBoxEntry and updates the rest of GTK+
to use the new semantics on GtkComboBox instead.
GtkComboBoxEntry will be removed altogether before GTK+ 3, in a
later commit.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=623845
|
| |
|
| |
|
|
|
|
| |
By making the widget itself insensitive.
|
|
|
|
|
|
| |
Some of the settings come directly from cups config files, which
have no case sensitivity requirement, so we should not be more
picky. Bug 594652.
|
|
|
|
|
|
|
|
| |
Print when Enter pressed in Name entry or Command Line entry in the
print dialog (#564695).
Add gtk_printer_option_set_activates_default() function and
gtk_printer_option_get_activates_default() function to control
behaviour of GtkPrinterOptionWidget.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-09-30 Marek Kasik <mkasik@redhat.com>
Bug 344522 – support non-local destination files (GtkPrint):
* gtk/gtkprintunixdialog.c
* gtk/gtkprinteroptionwidget.c: Process URI instead of filename.
* modules/printbackends/file/gtkprintbackendfile.c: Add ability
to save files on non-local filesystems.
svn path=/trunk/; revision=21552
|
|
|
|
|
|
|
|
|
|
| |
2007-10-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprinteroptionwidget.c (update_widgets): Actually use
the utf-8 version of the filename. (#485301, Takao Fujiwara)
svn path=/trunk/; revision=18912
|