]>
Pileus Git - ~andy/gtk/log
William Jon McCann [Thu, 18 Nov 2010 22:43:30 +0000 (17:43 -0500)]
Improve wording of no apps text
William Jon McCann [Thu, 18 Nov 2010 22:32:40 +0000 (17:32 -0500)]
Add some window border to test open with
William Jon McCann [Thu, 18 Nov 2010 22:31:13 +0000 (17:31 -0500)]
Add a default file to open with test
William Jon McCann [Thu, 18 Nov 2010 22:17:23 +0000 (17:17 -0500)]
Simplify title and heading
Cosimo Cecchi [Thu, 18 Nov 2010 17:44:55 +0000 (18:44 +0100)]
open-with-widget: don't set border in the widget box
Cosimo Cecchi [Thu, 18 Nov 2010 17:44:28 +0000 (18:44 +0100)]
open-with-widget: add support for fallback applications
Needs some new API in GIO, which is not yet merged.
Cosimo Cecchi [Thu, 18 Nov 2010 10:56:31 +0000 (11:56 +0100)]
open-with-dialog: remove old declarations
Cosimo Cecchi [Wed, 17 Nov 2010 23:29:18 +0000 (00:29 +0100)]
open-with: remove obsolete code
Cosimo Cecchi [Wed, 17 Nov 2010 23:07:29 +0000 (00:07 +0100)]
open-with-widget: simplify code a bit
Cosimo Cecchi [Wed, 17 Nov 2010 23:06:49 +0000 (00:06 +0100)]
open-with-widget: add a "Show more applications" button
So that we don't always show them all unconditionally in HEADINGS mode.
Cosimo Cecchi [Wed, 17 Nov 2010 23:04:35 +0000 (00:04 +0100)]
open-with-widget: make the list more pretty
Use bigger icons, with bold names and italic descriptions next to them.
Cosimo Cecchi [Wed, 17 Nov 2010 23:02:59 +0000 (00:02 +0100)]
open-with-dialog: don't ever show_all()
As there might be some elements in the widget that we don't want to
always show.
Cosimo Cecchi [Wed, 17 Nov 2010 20:38:22 +0000 (21:38 +0100)]
open-with-widget: add a context menu for recommended entries
We can put "Forget association" there, which removes the application
from the recommended list.
Cosimo Cecchi [Wed, 17 Nov 2010 20:38:05 +0000 (21:38 +0100)]
tests: update to new API
Cosimo Cecchi [Wed, 17 Nov 2010 20:37:09 +0000 (21:37 +0100)]
open-with-dialog: remove the mode from the dialog, we won't use it anymore
According to the new design, the dialog should automatically do the
right thing wrt. app association and default handling.
Cosimo Cecchi [Wed, 17 Nov 2010 18:28:48 +0000 (19:28 +0100)]
open-with: first attempt to split the dialog into a widget + interface
Like GtkFileChooser does; GtkOpenWith is a generic interface, which is
now implemented by both GtkOpenWithDialog and GtkOpenWithWidget (and in
the future also by GtkOpenWithComboBox).
Cosimo Cecchi [Wed, 17 Nov 2010 11:33:59 +0000 (12:33 +0100)]
tests: use new open with mode in the tests
Cosimo Cecchi [Wed, 17 Nov 2010 11:32:20 +0000 (12:32 +0100)]
open-with: turn the show_all_applications boolean into an enum
We have three modes of showing applications now:
- RECOMMENDED mode: shows only the recommended applications
- ALL mode: shows all applications, uncategorized
- HEADINGS: shows headings for recommended and other applications
(default).
Cosimo Cecchi [Tue, 16 Nov 2010 18:24:00 +0000 (19:24 +0100)]
open-with: add docs and integrate with the build GTK+ conventions
Cosimo Cecchi [Tue, 16 Nov 2010 18:23:15 +0000 (19:23 +0100)]
open-with: add gtk_open_with_dialog_get_mode()
Cosimo Cecchi [Tue, 16 Nov 2010 18:21:23 +0000 (19:21 +0100)]
open-with: change the API to make it symmetric for GFile or content-type
It's much more convenient this way.
Cosimo Cecchi [Tue, 16 Nov 2010 17:04:33 +0000 (18:04 +0100)]
tests: rewrite the GtkOpenWithDialog test to make it more interactive
Now you can play with all the options provided by GtkOpenWithDialog API.
Cosimo Cecchi [Tue, 16 Nov 2010 17:02:29 +0000 (18:02 +0100)]
open-with: add misc utility API to the dialog
- _set/get_show_other_applications() is a way to only display
recommended applications in the dialog
- _set/get_show_set_as_default_button() is a way to control the
"Remember this application" checkbox
We also get rid of he "application-selected" signal, in favour of a
_get_selected_application() API inspired by GtkFileChooser.
Cosimo Cecchi [Tue, 16 Nov 2010 14:14:11 +0000 (15:14 +0100)]
open-with: add xpadding to the treeview renderers
We use a GtkCellRenderer hack for this.
Cosimo Cecchi [Tue, 16 Nov 2010 14:13:11 +0000 (15:13 +0100)]
open-with: cope with NULL GAppInfo
It's not that the GAppInfo can actually be NULL, but we use the store to
save headings too, which have no GAppInfo in their rows.
Cosimo Cecchi [Tue, 16 Nov 2010 14:12:17 +0000 (15:12 +0100)]
open-with: don't override the class signal handler, as it's RUN_LAST
And explain why in a comment; basically we want our handler to always
run before client code.
Cosimo Cecchi [Tue, 16 Nov 2010 13:31:49 +0000 (14:31 +0100)]
open-with: don't use gtk_misc_* functions
They're so passe'!
Cosimo Cecchi [Tue, 16 Nov 2010 13:31:03 +0000 (14:31 +0100)]
open-with: add a "show-other-applications" property
This is useful for use-cases where showing a list of all the installed
applications can be confusing. We can control that with a property now.
Cosimo Cecchi [Tue, 16 Nov 2010 12:47:51 +0000 (13:47 +0100)]
open-with: initial implementation of GtkOpenWithDialog
Gheyret T.Kenji [Sat, 20 Nov 2010 10:56:21 +0000 (11:56 +0100)]
Added UG translation
Kjartan Maraas [Sat, 20 Nov 2010 10:48:08 +0000 (11:48 +0100)]
Updated Norwegian bokmål translation
John (J5) Palmieri [Fri, 19 Nov 2010 20:06:40 +0000 (15:06 -0500)]
[gi] add array annotations for DnD related methods
Michael Natterer [Fri, 19 Nov 2010 18:38:48 +0000 (19:38 +0100)]
gtk: remove GtkWidget::size-request
Fixes Bug 633324 - Stop invoking size-request completely
Martin Pitt [Fri, 19 Nov 2010 09:19:32 +0000 (10:19 +0100)]
GtkRadioButtons: Mark group arguments as "allow-none"
In the current introspection data, the various gtk_radio_button_new_*
constructors take an existing group or widget. These all allow passing a NULL
widget or group list, so that it becomes easy to build a radio button list in a
loop (pass in None the first time, and the previously created button in all
other iterations).
Add the missing "allow-none" tag to the introspection data, so that this will
also eventually work for GIR users. NB that it does not actually work for some
constructors yet (like new_with_label_from_widget()) due to
https://bugzilla.gnome.org/show_bug.cgi?id=561264.
https://bugzilla.gnome.org/show_bug.cgi?id=635253
Owen W. Taylor [Sun, 14 Nov 2010 14:38:32 +0000 (09:38 -0500)]
Create the icon pixmap with the system visual
Since what we are doing is turning an icon with alpha into a
no-alpha icon + mask for legacy window managers, it makes more sense
to use the system visual than the window's visual, which might
be ARGB.
https://bugzilla.gnome.org/show_bug.cgi?id=634821
Evan Martin [Fri, 12 Nov 2010 18:43:20 +0000 (10:43 -0800)]
docs: Copy GtkSizeGroup ownership discussion to GtkWindowGroup
The two behave identically, so the text is the same with s/size/window/.
Michael Natterer [Fri, 19 Nov 2010 13:55:47 +0000 (14:55 +0100)]
gtk: draw the frame around the spinbutton's buttons conditionally
(depending on GtkEntry::has-frame)
Javier Jardón [Fri, 19 Nov 2010 08:01:39 +0000 (09:01 +0100)]
configure: define GTK+ version before AC_INIT
So the gtk_version varibale will be defined
Javier Jardón [Fri, 19 Nov 2010 06:47:27 +0000 (07:47 +0100)]
gtkcombobox: Use accessor functions to access GtkTreeViewColumn
Javier Jardón [Fri, 19 Nov 2010 06:47:07 +0000 (07:47 +0100)]
gtktreeview: Use accessor functions to access GtkTreeViewColumn
Javier Jardón [Wed, 20 Oct 2010 15:14:11 +0000 (17:14 +0200)]
gtkentry: move public members to private structure
Javier Jardón [Wed, 20 Oct 2010 17:22:46 +0000 (19:22 +0200)]
gail: Use accessor functions to access GtkEntry
Also, we can't access entry->preedit now. Commented that code until
some gail expert can fix it
Javier Jardón [Thu, 21 Oct 2010 12:06:47 +0000 (14:06 +0200)]
Add _gtk_entry_get_im_context() internal accessor
It's needed by gtktreeview
Javier Jardón [Thu, 21 Oct 2010 11:39:42 +0000 (13:39 +0200)]
gtkcombobox: Do not access GtkEntry internals
It's not needed anymore
Javier Jardón [Tue, 19 Oct 2010 16:46:07 +0000 (18:46 +0200)]
gail: we cant access button->in_button directly now.
Commented some code until some gail expert can fix this.
Javier Jardón [Tue, 19 Oct 2010 00:01:31 +0000 (02:01 +0200)]
Create a private header to access some GtkButton variables
Javier Jardón [Mon, 18 Oct 2010 17:39:19 +0000 (19:39 +0200)]
gtktbutton: Move public members to private structure
Javier Jardón [Fri, 19 Nov 2010 03:44:42 +0000 (04:44 +0100)]
docs: Improve cross-referencing in the migration guide
Javier Jardón [Thu, 18 Nov 2010 16:47:04 +0000 (17:47 +0100)]
gtkplug: Do not leak in gtk_plug_realize()
Indeed, we should check for window->wmclass_name
Reported by Guillaume Desmottes in bug
https://bugzilla.gnome.org/show_bug.cgi?id=635175
Tristan Van Berkom [Thu, 18 Nov 2010 15:53:19 +0000 (00:53 +0900)]
Fixing GtkScrolledWindow inconsistent scrollbar visibility.
Also removing the hack to prevent hangs which is properly fixed by
the preceeding commit.
Tristan Van Berkom [Thu, 18 Nov 2010 15:53:13 +0000 (00:53 +0900)]
Fixing hangs with GtkScrolledWindow
Now gtk_widget_size_allocate() unsets the resize_needed flags
before returning, essentially this means that any widget that
has a queued resize and is allocated before resize time, including
queued resizes from inside a size_allocate() method will be
cancelled.
Michael Natterer [Thu, 18 Nov 2010 00:04:11 +0000 (01:04 +0100)]
gtk: honor entry->has_frame again draw the frame conditionally
when GtkEntry had visible windows, it was never noticed that we always
draw the frame, because the text_area window would cover it if
draw_frame was FALSE.
Michael Natterer [Thu, 18 Nov 2010 00:02:57 +0000 (01:02 +0100)]
gtk: draw the progress only on the text area
so it doesn't extend under GtkSpinButton's buttons.
Javier Jardón [Wed, 17 Nov 2010 22:56:48 +0000 (23:56 +0100)]
demos: Replace size_request by get_preferred_width/height
Javier Jardón [Wed, 17 Nov 2010 21:57:45 +0000 (22:57 +0100)]
gtkoffscreenbox.c: Replace size_request by get_preferred_width/height
Javier Jardón [Wed, 17 Nov 2010 21:55:59 +0000 (22:55 +0100)]
docs: Move Height-for-width geometry management virtual methods docs
Jordi Mas [Wed, 17 Nov 2010 00:39:20 +0000 (19:39 -0500)]
Fix for Catalan translation
Federico Mena Quintero [Tue, 16 Nov 2010 16:56:34 +0000 (10:56 -0600)]
bgo#634558 - filechooser - Actually focus the Search entry when selecting the Search shortcut
Signed-off-by: Federico Mena Quintero <federico@novell.com>
John (J5) Palmieri [Mon, 15 Nov 2010 17:34:16 +0000 (12:34 -0500)]
[gi] add "array" annotations to GtkAboutDialog methods
* set_authors, set_documenters and set_artists required the array annotation
to work properly
Javier Jardón [Wed, 13 Oct 2010 01:05:22 +0000 (03:05 +0200)]
gtkmain: Remove deprecated gtk_init_add() function
https://bugzilla.gnome.org/show_bug.cgi?id=629955
Javier Jardón [Tue, 19 Oct 2010 09:47:27 +0000 (11:47 +0200)]
Deprecate GtkCallbackMarshal and GtkFunction
As they're only used by already deprecated API
https://bugzilla.gnome.org/show_bug.cgi?id=629955
Javier Jardón [Tue, 16 Nov 2010 05:43:16 +0000 (06:43 +0100)]
GtkArg is deprecated since 2.2
Javier Jardón [Tue, 16 Nov 2010 02:51:53 +0000 (03:51 +0100)]
docs: Add cross-reference in GtkAlign docs
Javier Jardón [Tue, 16 Nov 2010 02:37:09 +0000 (03:37 +0100)]
docs: Fix a typo in gtk_button_set_alignment() docs
Javier Jardón [Mon, 15 Nov 2010 19:42:50 +0000 (20:42 +0100)]
docs: Remove template of unused functions
Javier Jardón [Mon, 15 Nov 2010 19:41:44 +0000 (20:41 +0100)]
docs: Move documentation to inline comments: event_structs
All the GDK documentation is now moved to inline comments
Javier Jardón [Mon, 15 Nov 2010 19:01:05 +0000 (20:01 +0100)]
docs: Move documentation to inline comments: x_interaction
Javier Jardón [Mon, 15 Nov 2010 18:47:35 +0000 (19:47 +0100)]
docs: Move documentation to inline comments: drawing
Javier Jardón [Mon, 15 Nov 2010 18:37:28 +0000 (19:37 +0100)]
docs: Move documentation to inline comments: gdkthreads
Javier Jardón [Mon, 15 Nov 2010 18:15:00 +0000 (19:15 +0100)]
docs: Move documentation to inline comments: gdkevents
Javier Jardón [Mon, 15 Nov 2010 16:59:52 +0000 (17:59 +0100)]
docs: Move documentation to inline comments: properties
Javier Jardón [Mon, 15 Nov 2010 16:20:51 +0000 (17:20 +0100)]
docs: Move documentation to inline comments: gdkselection
Javier Jardón [Mon, 15 Nov 2010 16:05:05 +0000 (17:05 +0100)]
docs: Move documentation to inline comments: gdkvisual
Javier Jardón [Mon, 15 Nov 2010 15:50:21 +0000 (16:50 +0100)]
docs: Move documentation to inline comments: gdkpango
Javier Jardón [Mon, 15 Nov 2010 15:41:31 +0000 (16:41 +0100)]
docs: Move documentation to inline comments: gdkcursor
Bastien Nocera [Mon, 15 Nov 2010 17:13:46 +0000 (17:13 +0000)]
gdk: Add big fat warning about updating XSettings
There's a tool to see if we forgot to update the gdk_settings_map
array, or got the offsets wrong. Mention those above the XSettings
list.
Bastien Nocera [Mon, 15 Nov 2010 17:02:40 +0000 (17:02 +0000)]
gdk: Update gdk_settings_map for blink timeout to work
gdk_settings_map needs to be updated when gdk_settings_names is changed,
and it's easier to add the setting at the end, so we don't need to
recalculate everything.
Really fixing:
https://bugzilla.gnome.org/show_bug.cgi?id=634697
John (J5) Palmieri [Mon, 15 Nov 2010 17:13:32 +0000 (12:13 -0500)]
[gi] add "out" annotations to gtk_tree_store_sort_column_id params
Petr Kovar [Mon, 15 Nov 2010 05:07:55 +0000 (06:07 +0100)]
Update Czech translation
Javier Jardón [Mon, 15 Nov 2010 04:56:00 +0000 (05:56 +0100)]
docs: gdkrgba: Add "Since: 3.0" tags
Javier Jardón [Mon, 15 Nov 2010 04:39:25 +0000 (05:39 +0100)]
docs: Remove GdkPixmap template
Javier Jardón [Mon, 15 Nov 2010 03:58:21 +0000 (04:58 +0100)]
docs: Move documentation to inline comments: general
Javier Jardón [Mon, 15 Nov 2010 03:34:40 +0000 (04:34 +0100)]
docs: Move documentation to inline comments: gdkkeys
Javier Jardón [Mon, 15 Nov 2010 02:55:43 +0000 (03:55 +0100)]
docs: move documentation to inline comments: gdktesting
Javier Jardón [Mon, 15 Nov 2010 02:51:30 +0000 (03:51 +0100)]
docs: Move documentation to inline comments: gdkscreen
Javier Jardón [Mon, 15 Nov 2010 02:43:54 +0000 (03:43 +0100)]
docs: Move documentation to inline comments: gdkdisplaymanager
Javier Jardón [Mon, 15 Nov 2010 02:37:21 +0000 (03:37 +0100)]
docs: Move documentation to inline comments: gdkdisplay
Javier Jardón [Mon, 15 Nov 2010 02:18:45 +0000 (03:18 +0100)]
docs: Move documentation to inline comments: gdkapplaunchcontext
Jordi Mas [Sun, 14 Nov 2010 19:53:24 +0000 (14:53 -0500)]
Fixes wrong translation for Catalan
Bruce Cowan [Sun, 14 Nov 2010 14:35:29 +0000 (14:35 +0000)]
Updated British English translation
Carlos Garcia Campos [Sun, 14 Nov 2010 11:39:48 +0000 (12:39 +0100)]
docs: Mention that tooltip_column text should be escaped in GtkIconView
Javier Jardón [Sun, 14 Nov 2010 00:55:23 +0000 (01:55 +0100)]
docs: Do not refer to deprecated GNOME2 porting guide
But to the related sections of Pango manual
Javier Jardón [Sun, 14 Nov 2010 00:21:35 +0000 (01:21 +0100)]
docs: Update URL of some documentation links
http://developer.gnome.org -> http://library.gnome.org
Gheyret T.Kenji [Sat, 13 Nov 2010 21:39:03 +0000 (22:39 +0100)]
Added UG translation
Gabor Kelemen [Sat, 13 Nov 2010 15:48:38 +0000 (16:48 +0100)]
Updated Hungarian translation
Khaled Hosny [Sat, 13 Nov 2010 01:14:50 +0000 (03:14 +0200)]
Updated Arabic translation
Javier Jardón [Thu, 11 Nov 2010 04:03:06 +0000 (05:03 +0100)]
examples/gtkdial: Do not use size_request vfunc
Matthias Clasen [Sat, 13 Nov 2010 00:19:48 +0000 (19:19 -0500)]
Fix a crash in gnome-terminal when using a compositor
In this case, gnome-terminal sets an RGBA visual on its window,
and we need to be careful when creating the icon pixmap, to create
the pixmap with the same depth as the visual, or we risk a BadMatch
from XRenderCreatePicture deep inside cairo.
Bastien Nocera [Fri, 12 Nov 2010 17:00:09 +0000 (17:00 +0000)]
gdk: Add XSetting for "gtk-cursor-blink-timeout"
Otherwise the blink timeout is the one used by default in GTK+.
https://bugzilla.gnome.org/show_bug.cgi?id=634697
Matthias Clasen [Thu, 11 Nov 2010 19:12:04 +0000 (14:12 -0500)]
Remove no longer existing files
The gdk-pixbuf VC project files are gone, so don't reference
them from Makefile.am anymore.