summaryrefslogtreecommitdiff
path: root/gtk/gtkappchooserdialog.c
Commit message (Collapse)AuthorAgeFilesLines
* Stop using gtk_box_pack_endTimm Bäder2019-01-231-3/+3
| | | | It might soon go away!
* appchooserdialog: Fix memory leakMohammed Sadiq2018-05-131-0/+1
|
* appchooserdialog: Don't fire notify::heading twiceMohammed Sadiq2018-05-131-1/+2
| | | | | | The gtk_app_chooser_dialog_set_heading() function do emit notify::heading. Since the setter simply calls the function, the setter itself shouldn't emit a notify signal by itself.
* appchoooserdialog: use search bar key capture APICarlos Garnacho2018-04-051-13/+3
|
* app chooser: Stop using ::key-press-eventMatthias Clasen2018-04-051-6/+9
| | | | For now, just switch to using ::event.
* The big versioning cleanupMatthias Clasen2018-02-061-6/+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.
* image: Remove icon-size argument from icon settersMatthias Clasen2017-11-151-1/+1
| | | | | | | | 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.
* appchooserdialog: Remove unused macroTimm Bäder2017-10-051-2/+0
|
* box: Remove fill child propertyTimm Bäder2017-04-251-3/+3
| | | | GtkWidget:halign and GtkWidget:valign are sufficient
* box: Remove expand child propertyTimm Bäder2017-04-251-3/+5
| | | | GtkWidget already has hexpand/vexpand properties.
* appchooserwidget: Inherit from GtkWidgetTimm Bäder2017-03-311-1/+0
|
* API: container: Remove gtk_container_set_border_width()Benjamin Otte2016-10-161-45/+3
|
* dialog: Remove alternative button order APITimm Bäder2016-10-161-7/+0
|
* box: Remove 'padding' child propertyTimm Bäder2016-10-161-3/+3
|
* 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
* app chooser dialog: Prevent uneven button heightsMatthias Clasen2015-02-261-0/+5
| | | | | | The height of the text buttons depends on the font height, whereas the search button has a fixed-size icon in it... Prevent unevent heights by putting them all in a size group.
* AppChooserDialog: Fix memleakRico Tzschichholz2015-02-181-1/+6
|
* app chooser: Move buttons to templateMatthias Clasen2014-07-091-5/+0
| | | | Use the new builder dialog action support.
* app chooser: sync sensitivity of search buttonMatthias Clasen2014-02-141-3/+3
| | | | | | The code setting up the button has been move a little later in the dialog construction, with the effect that the entry is already insensitive when we set up the binding.
* app chooser: Add a search barMatthias Clasen2014-02-141-2/+99
| | | | | | | This replaces the treeview typeahead popup with a GtkSearchBar, and adds a search button to the header bar (if we have one). https://bugzilla.gnome.org/show_bug.cgi?id=724218
* Modernize the app chooser dialogMatthias Clasen2014-02-131-62/+57
| | | | | This is according to suggestions in https://bugzilla.gnome.org/show_bug.cgi?id=724218
* resources: move resources into a subdirectoryWilliam Jon McCann2014-01-231-1/+1
|
* app chooser: Use headerbarWilliam Jon McCann2014-01-171-20/+41
| | | | | | Use a GtkHeaderBar in the app chooser dialog when desired. https://bugzilla.gnome.org/show_bug.cgi?id=720059
* Update all internal users of gtk_dialog_get_action_areaMatthias Clasen2014-01-171-0/+2
| | | | | Some of these should be revisited and fixed. For now, just avoid the deprecation warnings.
* Remove an unneeded includeMatthias Clasen2013-12-171-4/+0
|
* GtkAppChooserDialog: Add a 'Software' buttonMatthias Clasen2013-12-171-2/+80
| | | | Add a simple button that launches GNOME Software.
* GtkAppChooser: Drop PackageKit integrationMatthias Clasen2013-12-171-139/+0
| | | | | This will come back in a simpler form in the next commit.
* Another round of template binding api changesMatthias Clasen2013-07-261-4/+4
| | | | | | | | | | | 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-5/+5
| | | | | | | | | | | | | | | | | | | | 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-4/+4
| | | | | | | | | | 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
* Use proper quotation marksWilliam Jon McCann2013-07-171-4/+4
| | | | As per https://wiki.gnome.org/GnomeOS/Design/Whiteboards/Typography
* gtk: Use new macros for defining private dataEmmanuele Bassi2013-07-091-4/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996
* Prevent a segfault if GtkAppChooserDialog gets disposed earlyMatthias Clasen2013-05-021-0/+2
| | | | | | If the async call is finished after the dialog is already disposed, bad things happen. Prevent that by marking the dialog as dismissed in this case.
* GtkAppChooserDialog: Define children with a GtkBuilder templateTristan Van Berkom2013-04-081-46/+24
|
* appchooserdialog: remove redundant checksCosimo Cecchi2013-03-041-71/+1
| | | | | | | | This is checked by GIO for us now. Also, it's generally just a bad idea spawning error dialogs from inside a library on top of other dialogs: lesson learned. https://bugzilla.gnome.org/show_bug.cgi?id=675333
* appchooserdialog: add a missing label mnemonicCosimo Cecchi2012-08-101-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=681577
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* app-chooser-dialog: cancel the PK operation when the dialog is dismissedCosimo Cecchi2012-02-011-6/+13
| | | | | | | This doesn't really seem to have any effect; probably PK doesn't listen for changes on the passed-in cancellable, but it's correct. Related to: https://bugzilla.gnome.org/show_bug.cgi?id=649121
* app-chooser-dialog: make sure to hold a ref when doing async opsCosimo Cecchi2012-02-011-3/+16
| | | | | | | | | | | | | Hold a ref to the GtkDialog while doing async operations with the GtkAppChooserOnline object. This is needed, since somebody could call gtk_widget_destroy() on us while an async operation is in progress. We don't want to be finalized in that case, but mark the fact that we were dismissed and just return from the callback in that case. This avoids crashing if the dialog is destroyed in the middle of a PK operation. https://bugzilla.gnome.org/show_bug.cgi?id=649121
* appchooser: make the "Find applications online" follow search stateCosimo Cecchi2011-10-041-0/+3
| | | | | | | Set the button as insensitive while searching, so that it can't be accidentally clicked twice. https://bugzilla.gnome.org/show_bug.cgi?id=651818
* appchooser: add a GCancellable to the search operationCosimo Cecchi2011-10-041-2/+13
| | | | | | So that we can cancel it when the dialog is destroyed. https://bugzilla.gnome.org/show_bug.cgi?id=651818
* GtkAppChooserButton: Add a way to include the default appMatthias Clasen2011-09-101-0/+3
| | | | | | | | 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
* GtkAppChooserDialog: handle sensitivity of 'Select' betterMatthias Clasen2011-08-281-0/+6
| | | | | | When the dialog comes up without a selected item, make 'Select' insensitive. Also, don't allow to unselect an item without selecting a different one.
* GtkAppChooser: Deal with 'no app found' gracefullyMatthias Clasen2011-08-281-7/+15
| | | | | | | | Several functions inside GtkAppChooserDialog were not handling the situation that app_info might be NULL after the user clicked 'Select'. https://bugzilla.gnome.org/show_bug.cgi?id=651827
* gtkappchooserdialog: gtk_misc_set_alignmentDiego Celix2011-08-281-1/+2
| | | | | | | | Replacing the function gtk_misc_set_alignment () with gtk_widget_set_halign () and gtk_widget_set_valign () in gtk/gtkappchooserdialog.c https://bugzilla.gnome.org/show_bug.cgi?id=650762
* GtkAppChooserDialog: remove an unused variableMatthias Clasen2011-08-241-1/+0
|
* GtkAppChooserDialog: Simplify the constructionMatthias Clasen2011-08-241-17/+3
| | | | We do the same in other places.
* Ensure we always grab the gdk lock in async callbacksAlexander Larsson2011-03-281-0/+8
| | | | | | Async callbacks are delivered in idles, so we need to make sure we get the gdk lock before calling any gdk/gtk stuff. This was missing in a few places.