summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-open-with-dialog.c
AgeCommit message (Collapse)AuthorFilesLines
2022-07-20caja-open-with-dialog: cppcheck: Redundant conditionPablo Barciela1-2/+1
Fixes cppcheck warning: [libcaja-private/caja-open-with-dialog.c:265]: (style) Redundant condition: !dialog->details->add_mode. 'A || (!A && B)' is equivalent to 'A || B'
2022-07-20libcaja-private: reduce the scope of some variablesPablo Barciela1-15/+25
2022-07-19local #include files inside "" instead <>Pablo Barciela1-6/+7
2022-07-19caja-open-with-dialog: make sure there is error before showing itPablo Barciela1-2/+5
Fixes Clang static analyzer warning: caja-open-with-dialog.c:252:100: warning: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error') message = g_strdup_printf (_("Could not add application to the application database: %s"), error->message); ^~~~~~~~~~~~~~
2018-04-04HiDPI: Convert Pixbufs to Cairo SurfacesVictor Kareh1-19/+35
This allows icons in most places to scale up properly for HiDPI displays.
2018-03-23avoid 'gtk_file_chooser_dialog_new' with stock idsPablo Barciela1-3/+3
2018-03-12avoid gtk_dialog_add_buttons with stock idsPablo Barciela1-4/+7
2018-02-09avoid deprecated GtkStockPablo Barciela1-4/+4
2018-01-31require GTK+ 3.22 and GLib 2.50monsta1-10/+1
2018-01-09remove +x attr from source filesmonsta1-0/+0
fallout from last commit
2018-01-08ui: don't use overlay-scrollbarsraveit651-0/+3
make it consistent with behaviour for caja-places-sidebar
2017-08-19open-with-dialog: set max-char-width for a labelraveit651-0/+1
use max_char_width for 'Select and application to view his description' label, as this can cause a window size jumping for this gui. Depends on language translations. Ie. german language was affected.
2017-08-18Fix #828 "Open With" dialog "Open" button's text misalignedlukefromdc1-1/+1
2017-04-20Open With dialog: force icon sizemonsta1-1/+1
fixes https://github.com/mate-desktop/caja/issues/735
2016-11-22move to GTK+3 (>= 3.14), drop libunique, GTK+2 code, and --with-gtk build ↵lukefromdc1-23/+4
option *Remove GTK_VERSION_CHECK (3, 0, 0) and libunique selectors *Remove GTK2 and libunique specific code. *Leaves selector for specific GTK3 versions. *Remove #DEFINES for vbox/hbox previously required for GTK2 compatability *Keep vbox in caja-spatial-window.c, it is necessary for the desktop to work *spatial-window vbox issue at https://github.com/mate-desktop/caja/issues/591
2016-07-06GTK+-3 open-with-dialog: use widget properties instead of GtkAlignmentraveit651-0/+8
2016-01-25GTK3: fix deprecated GtkMiscWolfgang Ulbrich1-4/+4
2015-10-19GTK3: do not use deprecated gtk_misc_set_alignmentraveit651-0/+8
2015-10-19GTK3: Replace gtk_{v,h}box new with gtk_box_newraveit651-0/+5
- gtk_{v,h}box usage is deprecated since gtk+-3.2.0
2015-01-13drop support for GLib < 2.36Monsta1-2/+0
Closes https://github.com/mate-desktop/caja/pull/372
2012-11-23[all] include src/glibcompat.h & use g_list_free_full() where neededJasmine Hassan1-2/+3
Also fixes a double-free regression in lc-p/caja-query from 7a42b9b0
2012-11-16[all] use g_list_free() and g_strcmp0 instead of eel functionsJasmine Hassan1-2/+2
Was: general: use g_list_free_full() instead of eel functions http://git.gnome.org/browse/nautilus/commit/?id=5e669515fd7f760382e6b7aa1449734a35a2d7f4 . Instead of g_list_free_full(), we use g_list_foreach and g_list_free() to avoid unnecessary glib dependency bump to 2.28
2012-11-16[lc-p] don't use GtkObject (GTK3)Jasmine Hassan1-11/+1
the ::destroy signal of GtkObject has only been moved to GtkWidget in GTK3 (after GtkObject removal): http://developer.gnome.org/gtk3/3.0/ch25s02.html So, we use conditionals in this case, to keep working with GTK2 Original commit: http://git.gnome.org/browse/nautilus/commit/?id=aef4cfcf93ef34a0b2d4c87b40fcec2b7a66dd06
2012-11-16[all] Don't use gtk_dialog_set_has_separator()Jasmine Hassan1-1/+0
http://git.gnome.org/browse/nautilus/commit/?id=73e2941f9b837d5d0326e6e88caa7a1e3fdcabeb
2012-08-12Fixed incorrect fsf addresses. Closes #28.Steve Zesch1-2/+2
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+1183