summaryrefslogtreecommitdiff
path: root/gtk/gtkappchooserbutton.c
Commit message (Collapse)AuthorAgeFilesLines
* docs: Annotate GtkAppChooserButton::changedEmmanuele Bassi2020-12-011-0/+7
|
* appchooserbutton: Set a CSS namenana-42020-08-021-0/+5
| | | | Otherwise it has a CSS name "widget".
* Replace "gchar" with "char"Benjamin Otte2020-07-251-16/+16
|
* Replace "gint" with "int"Benjamin Otte2020-07-251-3/+3
|
* Add a few missing includesMatthias Clasen2020-06-231-0/+1
| | | | | | | | These sources are using GtkListStore apis, but were replying on indirect includes to get the header. Make this explicit, to prepare for GtkEntryCompletion losing its tree view dependencies.
* Merge branch 'wip/tintou/doc-fixes' into 'master'Matthias Clasen2020-05-111-1/+1
|\ | | | | | | | | docs: Fix several missing references in the documentation See merge request GNOME/gtk!1874
| * docs: Fix several missing references in the documentationCorentin Noël2020-05-111-1/+1
| | | | | | | | This fixes several typos and missing references
* | Use gtk_window_destroyMatthias Clasen2020-05-111-2/+2
|/ | | | | Replace calls to gtk_widget_destroy on windows with gtk_window_destroy.
* appchooserbutton: Drop the Private structMatthias Clasen2020-04-131-129/+85
|
* Add a GtkAppChooserButton:modal propertyMatthias Clasen2020-04-131-1/+59
| | | | | Nowadays, dialogs are expected to be attached, typically, and that only happens when they are marked as modal.
* Reinstate expected focus behaviorMatthias Clasen2020-04-091-0/+3
| | | | | | | | After the :can-focus change in the previous commit, widgets need to set suitable focus and grab_focus implementations to implement the desired focus behavior. This commit does that for all widgets.
* marshallers: ensure g_cclosure_marshal_VOID__VOIDv is usedChristian Hergert2019-05-291-1/+1
| | | | | | | If we set c_marshaller manually, then g_signal_newv() will not setup a va_marshaller for us. However, if we provide c_marshaller as NULL, it will setup both the c_marshaller (to g_cclosure_marshal_VOID__VOID) and va_marshaller (to g_cclosure_marshal_VOID__VOIDv) for us.
* Remove gtk_widget_get/set_has_surfaceMatthias Clasen2019-05-281-1/+0
| | | | | These serve no purpose anymore - widgets don't have surfaces, unless they're a GtkNative.
* Review and replace uses of get_toplevelMatthias Clasen2019-05-281-7/+5
| | | | | | | | Now that roots can have parent widgets, we need to carefully examine all calls of gtk_widget_get_toplevel, and replace them with gtk_widget_get_root if we want the nearest root, and not the ultimate end of the parent chain.
* app chooser button: Make finalMatthias Clasen2019-05-271-0/+14
|
* widget: Don't pass a position to ->size_allocateTimm Bäder2018-11-131-4/+5
| | | | | The values have been 0/0 for a long time now, so just drop the GtkAllocation argument and replace it with width and height.
* appchooserbutton: Remove priv pointerTimm Bäder2018-11-131-77/+112
|
* appchooserbutton: Inherit from GtkWidgetTimm Bäder2018-11-131-16/+70
|
* The big versioning cleanupMatthias Clasen2018-02-061-18/+0
| | | | | | | Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning.
* Use Unicode in translatable stringsPiotr Drąg2016-12-191-1/+1
| | | | | | See https://developer.gnome.org/hig/stable/typography.html https://bugzilla.gnome.org/show_bug.cgi?id=772371
* Use NULL for generic marshallers in g_signal_new()Benjamin Otte2016-08-291-1/+1
| | | | | glib will use the correct marshaller automatically. And as a side effect, we also get all glib optimizations, like a va marshaller.
* introspection: This patch fixes nullable return values fixes for the ↵Alberto Ruiz2016-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | following symbols in gtk gtk_accel_group_query gtk_accel_group_from_accel_closure gtk_accel_label_get_accel_widget gtk_accessible_get_widget gtk_actionable_get_action_name gtk_app_chooser_get_app_info gtk_app_chooser_button_get_heading gtk_app_chooser_dialog_get_heading gtk_application_get_window_by_id gtk_assistant_get_nth_page gtk_binding_set_find gtk_builder_get_object gtk_builder_lookup_callback_symbol gtk_builder_get_application gtk_button_get_image gtk_cell_area_get_focus_from_sibling gtk_cell_renderer_start_editing gtk_cell_view_get_model gtk_cell_view_get_displayed_row gtk_clipboard_get_owner gtk_container_get_focus_child gtk_container_get_focus_vadjustment gtk_container_get_focus_hadjustment gtk_dialog_get_widget_for_response gtk_drag_get_source_widget gtk_drag_dest_get_target_list gtk_drag_source_get_target_list gtk_entry_completion_get_model gtk_entry_completion_compute_prefix gtk_expander_get_label_widget gtk_file_chooser_get_filename gtk_file_chooser_get_current_folder gtk_file_chooser_get_uri gtk_file_chooser_get_current_folder_uri gtk_file_chooser_get_preview_widget gtk_file_chooser_get_preview_file gtk_file_chooser_get_preview_filename gtk_file_chooser_get_preview_uri gtk_file_chooser_get_extra_widget gtk_file_chooser_get_filter gtk_file_chooser_native_get_accept_label gtk_file_chooser_native_get_cancel_label gtk_file_filter_get_name gtk_font_chooser_get_font_family gtk_font_chooser_get_font_face gtk_font_chooser_get_font gtk_font_chooser_get_font_desc gtk_font_chooser_get_font_map gtk_frame_get_label gtk_gesture_get_device gtk_gesture_get_window gtk_gl_area_get_error gtk_header_bar_get_title gtk_header_bar_get_subtitle gtk_header_bar_get_custom_title gtk_icon_info_get_filename gtk_icon_view_get_path_at_pos gtk_icon_view_get_model gtk_image_get_pixbuf gtk_image_get_animation gtk_label_get_mnemonic_widget gtk_label_get_attributes gtk_check_version gtk_menu_button_get_popup gtk_menu_button_get_menu_model gtk_menu_button_get_align_widget gtk_menu_button_get_popover gtk_menu_item_get_submenu gtk_menu_item_get_accel_path gtk_native_dialog_get_title gtk_native_dialog_get_transient_for gtk_notebook_get_nth_page gtk_notebook_get_tab_label_text gtk_notebook_get_menu_label gtk_notebook_get_menu_label_text gtk_notebook_get_group_name gtk_notebook_get_action_widget gtk_offscreen_window_get_surface gtk_offscreen_window_get_pixbuf gtk_paned_get_child1 gtk_paned_get_child2 gtk_places_sidebar_get_location gtk_places_sidebar_get_nth_bookmark gtk_plug_get_socket_window gtk_popover_get_default_widget gtk_progress_bar_get_text gtk_recent_filter_get_name gtk_recent_manager_lookup_item gtk_settings_get_default gtk_socket_get_plug_window gtk_stack_sidebar_get_stack gtk_stack_switcher_get_stack gtk_style_context_get_section gtk_style_context_get_parent gtk_style_context_get_frame_clock gtk_test_find_widget gtk_text_buffer_get_mark gtk_text_tag_table_lookup gtk_text_view_get_tabs gtk_text_view_toggle_cursor_visible gtk_text_view_get_window gtk_toolbar_get_nth_item gtk_tool_button_get_label gtk_tool_button_get_icon_name gtk_tool_button_get_label_widget gtk_tool_button_get_icon_widget gtk_tool_palette_get_drop_item gtk_tool_palette_get_drop_group gtk_tree_model_filter_convert_child_path_to_path gtk_tree_model_filter_convert_path_to_child_path gtk_tree_model_sort_convert_child_path_to_path gtk_tree_model_sort_convert_path_to_child_path gtk_tree_view_get_column gtk_tree_view_get_bin_window gtk_tree_view_column_get_widget gtk_tree_view_column_get_tree_view gtk_widget_get_frame_clock gtk_window_group_get_current_device_grab GtkTextBufferSerializeFunc
* Intern all signal names beforehandMatthias Clasen2015-09-121-1/+1
| | | | This avoids pointless allocations
* app chooser button: Convert to g_object_notify_by_pspecMatthias Clasen2015-09-081-17/+19
|
* Formatting fixesMatthias Clasen2014-12-231-44/+37
|
* GtkAppChooserButton: Use G_PARAM_EXPLICIT_NOTIFYMatthias Clasen2014-06-091-3/+3
|
* GtkAppChooserButton: Fix a possible crashMatthias Clasen2014-06-091-1/+2
| | | | | We were not correctly dealing with content_type being NULL in one place.
* Revert "appchooserbutton: filter out applications not supposed to be visible"Cosimo Cecchi2013-09-171-3/+0
| | | | | | This reverts commit 5568dcb53c3a322b8399dc520fb539985814f451. https://bugzilla.gnome.org/show_bug.cgi?id=702681
* gtk: Use new macros for defining private dataEmmanuele Bassi2013-07-091-8/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996
* appchooserbutton: filter out applications not supposed to be visibleCosimo Cecchi2013-03-221-0/+3
| | | | | | | Ensure NoDisplay=true applications don't end up in the list populated by GtkAppChooserButton. https://bugzilla.gnome.org/show_bug.cgi?id=696405
* Bug 595615 — Use proper ellipsesPhilip Withnall2012-11-261-3/+3
| | | | | | 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
|
* Documentation: Correct references to properties.Murray Cumming2012-02-151-3/+3
| | | | | | | | These should use :, not ::, though signals would use ::. See http://developer.gnome.org/gtk-doc-manual/unstable/documenting_syntax.html.en and http://developer.gnome.org/gtk-doc-manual/unstable/documenting_symbols.html.en
* GtkAppChooserButton: Add a way to include the default appMatthias Clasen2011-09-101-26/+146
| | | | | | | | This is necessary to use an app chooser button for selecting default apps in the control center. Also, beef up the docs for this widget family. https://bugzilla.gnome.org/show_bug.cgi?id=642706
* GtkAppChooserButton: Make activating rows work as expectedMatthias Clasen2011-08-241-0/+2
| | | | | When a row is activated in the 'Other...' dialog, we have to make sure the dialog goes away.
* GtkAppChooserButtonPrivate: Improve struct packingMatthias Clasen2011-04-121-2/+2
|
* GtkAppChooserButton: avoid some leaksMatthias Clasen2011-04-011-6/+10
| | | | | gtk_tree_model_get() returns a reference for objects. https://bugzilla.gnome.org/show_bug.cgi?id=646462
* Allow GtkAppChooser classes to be instantiated with content-type=NULL.Tristan Van Berkom2011-03-011-12/+13
| | | | | Mostly for corner cases such as Glade that treats objects generically and needs to have an object that doesnt crash out of g_object_new().
* Add some missing symbols to the docsMatthias Clasen2011-02-081-3/+4
|
* Add gtk_app_chooser_button_get/set_headingMatthias Clasen2011-01-241-0/+62
|
* Use actual app name in app choosersWilliam Jon McCann2011-01-211-1/+1
| | | | | | Instead of using a strange composite of name and generic name. https://bugzilla.gnome.org/show_bug.cgi?id=640005
* When cancelling the app dialog return to the last item in comboboxWilliam Jon McCann2011-01-201-1/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=640011
* Make GtkAppChooserButton work in modal contextMatthias Clasen2011-01-201-0/+3
|
* Don't reserve a column of space the for icons in app chooser buttonWilliam Jon McCann2011-01-201-5/+12
| | | | | In order to more consistently present the items regardless of whether they have icons or not.
* Don't use an icon for Other Applications...William Jon McCann2011-01-201-6/+1
| | | | We only show icons in "menus" for nouns or dynamic objects.
* Fix win32 buildFridrich Štrba2011-01-111-0/+2
|
* Add appchooser docsMatthias Clasen2011-01-061-0/+8
|
* app-chooser-button: don't insert empty rows in the comboboxCosimo Cecchi2010-12-011-13/+20
|
* app-chooser-button: add a note in the docsCosimo Cecchi2010-12-011-0/+2
|
* app-chooser-button: add gtk_app_chooser_button_set_active_custom_item()Cosimo Cecchi2010-12-011-0/+61
| | | | This allows to pre-select a custom item.