| 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
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
* 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-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-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/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-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
|
|
|
|
|
|
|
|
|
|
| |
2007-06-06 Vincent Untz <vuntz@gnome.org>
* doc/*: rework the documentation. They're now nicely organized, and
don't contain non-useful stuff for libwnck users. A small FAQ and 100%
symbol coverage are the next steps :-)
svn path=/trunk/; revision=1281
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-02-11 Vincent Untz <vuntz@gnome.org>
* libwnck/.cvsignore: updated
* libwnck/application.c: fix doc for
wnck_application_get_icon_is_fallback
* libwnck/screen.c: fix the doc for wnck_screen_get_workspace
* libwnck/screen.h: mark the WnckWorkspaceLayout as private
Don't define _ in libwnck and use glib for this.
Fix bug #328621.
Using gi18n-lib.h also fixes bug #323181.
* libwnck/application.c: include <glib/gi18n-lib.h>
* libwnck/pager-accessible.c: ditto
* libwnck/screen.c: ditto
* libwnck/selector.c: ditto
* libwnck/tasklist.c: ditto
* libwnck/util.c: ditto
* libwnck/window.c: ditto
* libwnck/workspace.c: ditto
* libwnck/private.h: don't define _
* doc/libwnck-sections.txt:
* doc/tmpl/private.sgml: remove documentation for _
|
|
* doc/libwnck-sections.txt:
add this file to CVS, as is done in other modules, so that
a clean build from CVS works
|