| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
There are two scroll modes: the default 2d scroll mode is essentially
only useful for touchpads, because mice cannot scroll horizontally, so
scrolling up/down to get to the next workspace will get users confused.
By setting the scroll_mode to 1 users get a simple way of scrolling
through workspaces, irrespective of the number of rows the pager sets.
https://gitlab.gnome.org/GNOME/libwnck/issues/134
Fixes: #134
|
|
|
|
| |
As per recent meson changes, this would not work properly
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
gtkdoc-scangobj --nogtkinit has been deprecated for a long time, and
this option is removed during the conversion to python.
https://bugzilla.gnome.org/show_bug.cgi?id=782883
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
The introspection note is quite important, as the way memory management
works in libwnck is not completely compatible with introspection. And
wnck_shutdown() exhibits this.
See https://bugzilla.gnome.org/show_bug.cgi?id=642692#c11 for
discussion.
|
| |
|
|
|
|
|
|
|
| |
This includes hints as to when to use the library, common pitfalls and
two simple examples.
https://bugzilla.gnome.org/show_bug.cgi?id=344137
|
| |
|
|
|
|
| |
Users of libwnck should just include <libwnck/libwnck.h> now.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following deprecated API got removed:
wnck_screen_get_workspace_index
wnck_screen_get_workspace_neighbor
wnck_pager_set_screen
wnck_tasklist_set_minimum_width
wnck_tasklist_get_minimum_width
wnck_tasklist_set_minimum_height
wnck_tasklist_get_minimum_height
wnck_tasklist_set_screen
wnck_gtk_window_set_dock_type
wnck_create_window_action_menu
The following API don't take a WnckScreen argument anymore:
wnck_pager_new
wnck_tasklist_new
|
|
|
|
| |
Fix pkg-config, library, gtk-doc and gir versioning.
|
| |
|
|
|
|
|
| |
Use gobject-introspection 0.6.14, where introspection sources can be
referenced via VPATH. Also fix distcheck failure in doc subdir.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-13 Vincent Untz <vuntz@gnome.org>
* configure.in:
* libwnck-1.0-uninstalled.pc.in:
* libwnck-1.0.pc.in:
* libwnck/Makefile.am:
Rework again so that we also work with Xorg 6.8, which doesn't have
.pc files. I'm sure it's a bit broken in a corner case for Xorg 6.8,
but it should work anyway. Keep using .pc files when available.
* doc/tmpl/window-action-menu.sgml: updated
svn path=/trunk/; revision=1519
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-11 Vincent Untz <vuntz@gnome.org>
Be more paranoid about the fact that the window of the WnckActionMenu
might have been not set. This case can probably happen in bindings...
* libwnck/window-action-menu.c: (wnck_action_menu_set_property): check
that the window is really a WnckWindow
(wnck_action_menu_constructor): handle the case and print a warning
when the window has not been set
* doc/libwnck-docs.sgml: add index of new symbols in 2.22
svn path=/trunk/; revision=1509
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-11 Vincent Untz <vuntz@gnome.org>
Objectify window-action-menu.c so that we have a real WnckActionMenu
widget.
* doc/libwnck-docs.sgml:
* doc/libwnck-sections.txt:
* doc/libwnck.types:
* doc/tmpl/window-action-menu.sgml: doc updates for the change
* libwnck/window-action-menu.[ch]: (window_weak_notify),
(get_action_menu), (item_activated_callback), (update_menu_state),
(queue_update), (state_changed_callback),
(actions_changed_callback), (workspace_changed_callback),
(screen_workspace_callback), (viewports_changed_callback),
(make_radio_menu_item), (make_check_menu_item), (make_menu_item),
(refill_submenu_workspace), (refill_submenu_viewport),
(wnck_action_menu_get_property), (wnck_action_menu_set_property),
(wnck_action_menu_init), (wnck_action_menu_constructor),
(wnck_action_menu_class_init), (wnck_action_menu_finalize),
(wnck_action_menu_new): many changes, but nothing really interesting
since it's only about making this an object.
Deprecate wnck_create_window_action_menu() in favor of
wnck_action_menu_new()
svn path=/trunk/; revision=1507
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-07-10 Vincent Untz <vuntz@gnome.org>
* libwnck/doc/libwnck-docs.sgml:
* libwnck/doc/libwnck-sections.txt:
* libwnck/doc/tmpl/misc.sgml:
* libwnck/doc/tmpl/resource.sgml:
* libwnck/libwnck/util.c: reorganize a bit some part of the API
documentation
svn path=/trunk/; revision=1407
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-07-07 Vincent Untz <vuntz@gnome.org>
Add wnck_window_is_below()/make_below()/unmake_below()
Fix bug #453982.
* doc/libwnck-sections.txt:
* doc/tmpl/window.sgml: update doc
* libwnck/window.c: (wnck_window_init): init new field
(wnck_window_class_init): update doc
(wnck_window_is_below), (wnck_window_make_below),
(wnck_window_unmake_below): new
(update_state): handle below
* libwnck/window.h: updated
* libwnck/wnckprop.c: add --make-below and --unmake-below
(validate_options), (update_window): handle new options
(print_window): print below state, and add FIXME
svn path=/trunk/; revision=1395
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-24 Vincent Untz <vuntz@gnome.org>
Make it possible to print information about a class group or an
application by selecting a window. Also, if no argument is specified
for --screen or --workspace, use the default screen or the active
workspace.
* libwnck/wnckprop.c: force no conflict resolution for --activate
(used in --workspace and --window)
(option_parse): new, we need this since we have optional arguments for
some options
(validate_options): updated
(handle_button_press_event): updated, since we'll return to main()
which will handle everything
(main): updated to use the active workspace if no number is specified
after --workspace, and to let the user select a window for a class
group or an application
* doc/tmpl/workspace.sgml: forgot to update this
svn path=/trunk/; revision=1372
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-24 Vincent Untz <vuntz@gnome.org>
* doc/libwnck-sections.txt:
* libwnck/workspace.[ch]: (wnck_workspace_get_screen): add
wnck_workspace_get_screen() API, for consistency
* libwnck/wnckprop.c: add parameters to print information about a
class group and an application,
make --list list windows for a screen, workspace, class group or
application. This removes --list-windows and friends.
svn path=/trunk/; revision=1371
|
|
|
|
|
|
|
|
|
|
| |
2007-06-24 Vincent Untz <vuntz@gnome.org>
* doc/libwnck-sections.txt:
* doc/tmpl/workspace.sgml: forgot to commit the doc changes for the
new API
svn path=/trunk/; revision=1370
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-24 Vincent Untz <vuntz@gnome.org>
* doc/libwnck-sections.txt:
* doc/tmpl/screen.sgml:
* libwnck/screen.[ch]: (wnck_screen_get_workspaces): new API, for
consistency.
Fix also two API docs.
svn path=/trunk/; revision=1364
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-24 Vincent Untz <vuntz@gnome.org>
Cleanups and deprecate some WnckScreen functions that shouldn't have
been made public when they were added.
* doc/tmpl/tasklist.sgml:
* libwnck/tasklist.c: improve a bit documentation
(wnck_tasklist_class_init): add doc for the style properties
(wnck_tasklist_size_request): remove spurious spaces
(wnck_tasklist_free_tasks): move some assertions around, since it's a
bit clearer
(wnck_tasklist_update_lists): remove empty line
(wnck_task_create_widgets): use a define instead of magic values for
the padding
* libwnck/screen.[ch]: deprecate wnck_screen_get_workspace_index() (we
have wnck_workspace_get_number()),
wnck_screen_calc_workspace_layout(),
wnck_screen_free_workspace_layout() and WnckWorkspaceLayout
* libwnck/util.c: remove useless TODO (since the function is already
deprecated)
* libwnck/workspace.c: update doc to not refer to
wnck_screen_calc_workspace_layout()
svn path=/trunk/; revision=1363
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-20 Vincent Untz <vuntz@gnome.org>
* doc/libwnck-docs.sgml:
* libwnck/window.c:
* libwnck/workspace.c: update docs to have indexes of symbols.
* libwnck/wnckprop.c: add TODO
svn path=/trunk/; revision=1349
|
|
|
|
|
|
|
|
|
| |
2007-06-18 Vincent Untz <vuntz@gnome.org>
* doc/libwnck-sections.txt:
* libwnck/libwnck.h: add missing includes of our public API
svn path=/trunk/; revision=1323
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-18 Vincent Untz <vuntz@gnome.org>
* doc/libwnck-sections.txt:
* doc/tmpl/tasklist.sgml:
* doc/tmpl/util.sgml:
* libwnck/application.c:
* libwnck/class-group.c:
* libwnck/pager.c:
* libwnck/screen.c:
* libwnck/screen.h:
* libwnck/selector.c:
* libwnck/tasklist.c:
* libwnck/tasklist.h:
* libwnck/util.c:
* libwnck/util.h:
* libwnck/window.c:
* libwnck/window.h:
* libwnck/workspace.c: add lots of Since: tags.
svn path=/trunk/; revision=1321
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-16 Vincent Untz <vuntz@gnome.org>
Add API to get the name of the running window manager.
Fix bug #448043.
* doc/libwnck-sections.txt:
* doc/tmpl/screen.sgml: updated
* libwnck/screen.[ch]: (wnck_screen_class_init): add new
window_manager_changed signal
(wnck_screen_finalize): free wm name
(wnck_screen_construct): we need to update information about the wm
(_wnck_screen_process_property_notify): queue update for wm if the
hint is _NET_SUPPORTING_WM_CHECK
(update_wm): new, get the wm name
(do_update_now): update the wm information
(emit_wm_changed): new, emit window_manager_changed signal
(wnck_screen_get_window_manager_name): new
* libwnck/wnckprop.c: (print_props): print the name of the window
manager running on the screen
svn path=/trunk/; revision=1314
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-15 Vincent Untz <vuntz@gnome.org>
* doc/Makefile.am:
* libwnck/pager.h:
* libwnck/tasklist.h:
* libwnck/util.h: add WNCK_DISABLE_DEPRECATED
svn path=/trunk/; revision=1309
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-14 Vincent Untz <vuntz@gnome.org>
* doc/libwnck-sections.txt:
* doc/tmpl/screen.sgml: update for new API
* libwnck/screen.[ch]: (wnck_screen_get_number): new API
* libwnck/workspace.c: small API doc update for
wnck_workspace_get_number()
* libwnck/wnckprop.c: (print_props): print the screen number
Fix bug #169590, based on API suggestion by
Mark McLoughlin <mark@skynet.ie>.
svn path=/trunk/; revision=1307
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-11 Vincent Untz <vuntz@gnome.org>
If the pager can't set the layout, make it use the real layout of the
screen.
Fix second part of bug #445686.
* doc/libwnck-sections.txt: updated for not-yet public API
* doc/tmpl/pager.sgml: updated
* libwnck/pager.c: (wnck_pager_realize): don't set the layout hint
here
(wnck_pager_set_screen): try to set the layout hint on the screen, and
if it failed, gets the actual layout from the screen
(wnck_pager_new): call wnck_pager_set_screen() instead of
wnck_pager_connect_screen()
* libwnck/screen.[ch]: change WnckScreen to use WnckLayoutCorner
instead of ScreenCorner
(wnck_screen_construct): ditto
(wnck_screen_calc_workspace_layout): ditto, and mention that we should
remove this from the API next time we break API
(wnck_screen_free_workspace_layout): add comment to mention that we
should remove this API
(update_workspace_layout): use WnckLayoutCorner instead of ScreenCorner
(_wnck_screen_get_workspace_layout): new private function to get the
layout on the screen. Should probably be public in the future.
(wnck_screen_try_set_workspace_layout): update a bit the doc, and add
a guard againt bogus parameters
svn path=/trunk/; revision=1301
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-10 Vincent Untz <vuntz@gnome.org>
Add support for _NET_FRAME_EXTENTS. This adds a new API.
Fix bug #351055.
* doc/libwnck-sections.txt: updated for
wnck_window_get_client_window_geometry()
* doc/tmpl/window.sgml: ditto
* libwnck/window.[ch]: (_wnck_window_create): we need to update the
information about frame.
(wnck_window_get_client_window_geometry): new, returns the geometry of
the window without the frame (that's the "real" X geometry)
(wnck_window_get_geometry): changed to return the geometry of the
window with its frame. That's a small change in the API meaning, but
we're unstable, aren't we? :-)
(wnck_window_is_in_viewport): take into account the frame of the
window
(_wnck_window_process_property_notify): check if we need to update the
frame info
(update_icon_name): move some code into xutils.c, to make this
function more like update_name()
(update_frame_extents): new, gets the frame info and emit a geometry
changed signal if the info changed
(force_update_now):
* libwnck/xutils.[ch]: (_wnck_get_icon_name): new, works like
_wnck_get_name()
(_wnck_get_frame_extents): new, gets the frame info from the
_NET_FRAME_EXTENTS hint
svn path=/trunk/; revision=1296
|
|
|
|
|
|
|
|
| |
2007-06-10 Vincent Untz <vuntz@gnome.org>
* doc/*: reorganize a bit some of the functions.
svn path=/trunk/; revision=1294
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-09 Vincent Untz <vuntz@gnome.org>
* doc/libwnck-docs.sgml:
* doc/tmpl/util.sgml:
* libwnck/application.c:
* libwnck/pager.c:
* libwnck/screen.c:
* libwnck/selector.c:
* libwnck/tasklist.[ch]:
* libwnck/util.[ch]:
* libwnck/window.c: woohoo, 100% symbol coverage for the API doc!
* libwnck/util.[ch]: (wnck_xid_read_resource_usage),
(wnck_pid_read_resource_usage): s/unsigned long/gulong/ to please
gtk-doc.
svn path=/trunk/; revision=1287
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-09 Vincent Untz <vuntz@gnome.org>
* doc/libwnck-docs.sgml:
* doc/libwnck-sections.txt:
* doc/tmpl/screen.sgml:
* libwnck/application.c:
* libwnck/class-group.c:
* libwnck/screen.[ch]:
* libwnck/util.h:
* libwnck/window.c:
* libwnck/workspace.c: writing API doc is fun!
* libwnck/screen.c: (wnck_screen_get_workspace_index): updated for
some clarity
(wnck_screen_get_workspace_neighbor): ditto
(wnck_screen_calc_workspace_layout): ditto, and if the number of
workspaces is negative, calculate it
(wnck_screen_net_wm_supports): make it really work on all screens, and
not just the default screen
* libwnck/window-action-menu.c: (wnck_create_window_action_menu):
updated for some clarity
svn path=/trunk/; revision=1286
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-09 Vincent Untz <vuntz@gnome.org>
* doc/libwnck-docs.sgml:
* libwnck/application.[ch]:
* libwnck/class-group.[ch]:
* libwnck/pager.h:
* libwnck/screen.[ch]:
* libwnck/selector.h:
* libwnck/tasklist.h:
* libwnck/window.[ch]:
* libwnck/workspace.[ch]: even more API documentation
svn path=/trunk/; revision=1285
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-09 Vincent Untz <vuntz@gnome.org>
* doc/libwnck-docs.sgml:
* libwnck/application.c:
* libwnck/class-group.c:
* libwnck/pager.c:
* libwnck/screen.c:
* libwnck/window.c:
* libwnck/workspace.c: add more API documentation
svn path=/trunk/; revision=1284
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-08 Vincent Untz <vuntz@gnome.org>
* doc/*:
* libwnck/application.c:
* libwnck/class-group.c:
* libwnck/pager.[ch]:
* libwnck/screen.c:
* libwnck/selector.c:
* libwnck/tasklist.[ch]:
* libwnck/window.c:
* libwnck/workspace.c: add more API documentation
svn path=/trunk/; revision=1283
|
|
|
|
|
|
|
|
|
|
| |
2007-06-06 Vincent Untz <vuntz@gnome.org>
* libwnck/util.[ch]:
* libwnck/window-action-menu.c:
* doc/*: small improvements to documentation
svn path=/trunk/; revision=1282
|