William Jon McCann
81065b9b74
Update for new GTK3 drawing APIs
...
https://bugzilla.gnome.org/show_bug.cgi?id=631051
2010-10-01 11:04:43 -04:00
William Jon McCann
ec8aed3b20
Drop font-viewer
...
Will be moved to another module
2010-10-01 11:04:43 -04:00
Kalev Lember
4859ae9b30
bgo#629299 - Prefix key constants with _KEY
...
In GTK+ 3 key constants have gained _KEY prefix.
2010-09-10 15:00:13 -05:00
Kalev Lember
cd8a0ecbe2
bgo#629299 - Use gdk_display_get_default instead of GDK_DISPLAY
...
GDK_DISPLAY() was deprecated in GTK+ 2.22 and removed in GTK+ 3.
2010-09-10 14:59:42 -05:00
Bastien Nocera
5b45a61320
Fix drw_timer_new() prototype
...
To not generate a warning when compiling.
2010-09-10 11:49:58 +01:00
Benjamin Otte
6c990cd60c
typing-break: use gtk API to determine label layout location
...
The previous code tried to imitate GtkLabel, but failed to account for
changes to its API. The new code uses gtk_label_get_layout_offsets()
which is exactly doing the same thing, but compatibly.
https://bugzilla.gnome.org/show_bug.cgi?id=626870
2010-08-20 21:38:00 +02:00
Benjamin Otte
7ea3249a4a
Replace Gdk drawing with Cairo
...
https://bugzilla.gnome.org/show_bug.cgi?id=626870
2010-08-20 21:38:00 +02:00
Maxim Ermilov
c2211ffe0b
Use accessor functions instead direct access
...
https://bugzilla.gnome.org/show_bug.cgi?id=597888
2010-04-22 17:38:59 +04:00
Rodrigo Moya
a0317f49fe
Remove warning when compiling with app indicator
2010-04-16 17:07:48 +02:00
Travis B. Hartwell
7cfd35fe84
[typing-break] Add support for Ubuntu's app indicator instead of GtkStatusIcon
2010-04-16 17:03:47 +02:00
Javier Jardón
825434bbcd
Remove GTK+ deprecated symbols
...
https://bugzilla.gnome.org/show_bug.cgi?id=572325
2010-04-13 19:34:52 +02:00
Matthias Clasen
de51788c8d
Lock all the screens
...
Gray out all the monitors properly when the typing break is on.
https://bugzilla.gnome.org/show_bug.cgi?id=492974
2010-03-10 12:21:19 +00:00
Thomas Wood
b7ce86ecec
Automatically create the ChangeLog file from VCS history
...
Added a dist-hook rule to create the ChangeLog file from the git log.
2009-11-14 15:17:28 +00:00
Jens Granseuer
543251c2c6
[typing-break] Reset timer after suspend
...
This patch does 2 things:
1) Defines a DrwTimer that we use instead of GTimer. This is just a thin
wrapper around g_get_current_time, and it means we can accurately track
typing/idle periods based on real-world wall-clock time, which GTimer is
apparently not intended to do.
2) The typing monitor has some complicated state handling where it transitions
between an IDLE state and a TYPING state. This transition is based on running a
callback once per second, and checking whether any keystrokes have been
recorded since the last time the callback was called. The actual idle *time* is
tracked separately, independently of these two states, but only when we are in
the IDLE *state* was the idle *time* checked to see if we should reset the
break timer. This leads to a race condition -- if we suspend while in the
TYPING state, then eventually we will wake up, notice that no key press has
happened in the last second, *reset the idle timer*, transition to the IDLE
state, and then check the amount of time on the idle timer. We will thus never
notice the amount of time that the computer was suspended.
I considered making the IDLE/TYPING transition code smarter, but it turns out
the desired behavior for the two states is entirely identical anyway, so rather
than adding more complexity to this pointless code, I just diked it out and
replaced them both by a single state called RUNNING.
Closes bug #430797 .
2009-11-11 19:39:57 +01:00
Tim Waugh
1fd84f3672
[typing-break] Increase delay for activating the postpone button to 5s
...
When the typing break screen is displayed and break postponements are enabled,
there is a 500ms delay before the 'Postpone' button becomes sensitive.
Increase that delay to 5000ms (5s).
Rationale:
When I'm really focused on something I will click the 'Postpone' button, or
even use the keyboard short-cut Alt-P, so that I can carry on with what I was
doing. Then later I won't even remember having done it. This can happen
several times in a row. I'm sure it happens this way for other people too.
With a 5s delay before a break can be postponed it gives the user time to think
about whether they really need to carry on with what they were doing or if it
can wait after all.
Closes bug #597086 .
2009-11-08 11:14:35 +01:00
Thomas Hindoe Paaboel Andersen
3d3638cdd5
Replace deprecated gtk_status_icon_set_tooltip
...
Use gtk_status_icon_set_tooltip_text instead. This requires gtk >= 2.15.0.
2009-07-19 23:36:53 +02:00
Thomas Wood
5d882a3bdd
Automatically generate .gitignore files with git.mk
...
Add git.mk and include it in all Makefiles to generate .gitignore files
2009-07-16 00:38:51 +01:00
Thomas Hindoe Paaboel Andersen
7c20b2bc3a
[typing-break] Use GtkUIManager to replace GtkItemFactory
2009-07-09 14:46:19 +02:00
Thomas Hindoe Paaboel Andersen
fda6f93230
Revert change to GtkUIManager. It broke string freeze.
...
svn path=/trunk/; revision=9312
2009-03-03 19:36:03 +00:00
Thomas Hindoe Paaboel Andersen
1c29b115e6
Use GtkUIManager instead of deprecated GtkItemFactory. Bug #572325
...
svn path=/trunk/; revision=9289
2009-02-26 19:19:04 +00:00
Thomas Hindoe Paaboel Andersen
e5208bc543
Replace deprecated GTK symbols. Fixes part of bug #572325
...
svn path=/trunk/; revision=9283
2009-02-22 22:01:40 +00:00
Vincent Untz
950c137ea5
post-release bump to 2.25.91
...
2009-02-04 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.25.91
svn path=/trunk/; revision=9237
2009-02-04 22:30:58 +00:00
Jens Granseuer
1a01a9a670
Patch by: Maxim Ermilov <zaspire@rambler.ru>
...
2009-01-31 Jens Granseuer <jensgr@gmx.net>
Patch by: Maxim Ermilov <zaspire@rambler.ru>
* configure.in: add optional dependency on libcanberra-gtk for bug
#169473
2009-01-31 Jens Granseuer <jensgr@gmx.net>
Patch by: Maxim Ermilov <zaspire@rambler.ru>
* Makefile.am:
* drw-break-window.c: (drw_break_window_init), (clock_timeout_cb):
play a sound when the display is locked or unlocked (bug #169473 )
svn path=/trunk/; revision=9224
2009-01-31 16:29:35 +00:00
Bastien Nocera
a4f0969525
upd 2.25.3
...
2008-12-18 Bastien Nocera <hadess@hadess.net>
* NEWS: upd
* configure.in: 2.25.3
svn path=/trunk/; revision=9178
2008-12-18 19:30:08 +00:00
Rodrigo Moya
8640021f19
prepare for 2.25.2 release.
...
2008-12-02 Rodrigo Moya <rodrigo@gnome-db.org>
* NEWS:
* *ChangeLog: prepare for 2.25.2 release.
svn path=/trunk/; revision=9158
2008-12-02 16:37:29 +00:00
Jens Granseuer
f5c26281b7
Patch by: Maxim Ermilov <zaspire@rambler.ru>
...
2008-11-20 Jens Granseuer <jensgr@gmx.net>
Patch by: Maxim Ermilov <zaspire@rambler.ru>
capplets/sound/mixer-support.[ch]:
capplets/appearance/*.[ch]:
capplets/common/*.[ch]:
capplets/keybindings/egg*.[ch]:
capplets/keyboard/gnome-keyboard-properties-a11y.h:
shell/control-center.c:
typing-break/*.[ch]:
only include top-level headers for glib and GTK+ (bug #561562 )
svn path=/trunk/; revision=9148
2008-11-20 18:43:38 +00:00
Jens Granseuer
07eda34c36
Patch by: Maxim Ermilov <zaspire@rambler.ru>
...
2008-11-20 Jens Granseuer <jensgr@gmx.net>
Patch by: Maxim Ermilov <zaspire@rambler.ru>
* drw-selection.c: (drw_selection_reset),
(drw_selection_find_existing): use g_object_unref instead of the
deprecated gdk_window_unref (bug #561679 )
svn path=/trunk/; revision=9147
2008-11-20 18:26:55 +00:00
Vincent Untz
d35680790c
post-release bump to 2.25.2.
...
2008-11-05 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.25.2.
svn path=/trunk/; revision=9134
2008-11-05 14:54:05 +00:00
Vincent Untz
1aee7c2ad6
post-release bump to 2.24.1.
...
2008-09-24 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.24.1.
svn path=/trunk/; revision=9001
2008-09-24 16:50:50 +00:00
Jens Granseuer
3b4d3d0a65
Patch by: Andrey Gusev <ronne@list.ru>
...
2008-07-02 Jens Granseuer <jensgr@gmx.net>
Patch by: Andrey Gusev <ronne@list.ru>
* drw-break-window.c: (drw_break_window_init): make the typing break
window modal so it properly locks the screen when apps like firefox
are running in fullscreen mode (bug #441786 )
svn path=/trunk/; revision=8772
2008-07-02 20:51:16 +00:00
Jens Granseuer
feacdff503
Based on a patch by: Andrey Gusev <ronne@list.ru>
...
2008-06-27 Jens Granseuer <jensgr@gmx.net>
Based on a patch by: Andrey Gusev <ronne@list.ru>
* drwright.c: (break_window_postpone_cb): when postponing a break
don't go right back to warn state, but award some bonus time according
to the already elapsed break time (bug #133295 )
svn path=/trunk/; revision=8770
2008-06-27 16:52:18 +00:00
Jens Granseuer
f02941bf84
Patch by: Andrey Gusev <ronne@list.ru>
...
2008-06-15 Jens Granseuer <jensgr@gmx.net>
Patch by: Andrey Gusev <ronne@list.ru>
* drwright.c: (update_icon), (blink_timeout_cb),
(maybe_change_state), (update_tooltip), (break_window_postpone_cb):
when postponing a voluntary break, go back to the state before taking
the break instead of going to warn state as we do when a regular
break is postponed (bug #134595 )
svn path=/trunk/; revision=8755
2008-06-15 13:54:57 +00:00
Vincent Untz
5e14bcf311
post-release bump to 2.23.3
...
2008-05-17 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.23.3
svn path=/trunk/; revision=8716
2008-05-17 16:56:46 +00:00
Jens Granseuer
4bdb8a491a
amend previous commit to use GTK_STOCK_STOP instead of "gtk-stop"
...
2008-03-24 Jens Granseuer <jensgr@gmx.net>
* drw-break-window.c: (drw_break_window_init): amend previous commit
to use GTK_STOCK_STOP instead of "gtk-stop"
svn path=/trunk/; revision=8592
2008-03-24 19:52:24 +00:00
Jens Granseuer
93832db960
new Tango-style icons by David Prieto <frandavid100@gmail.com> (bug
...
2008-03-24 Jens Granseuer <jensgr@gmx.net>
* bar*.png: new Tango-style icons by David Prieto
<frandavid100@gmail.com> (bug #523965 )
* drw-break-window.c: (drw_break_window_init): replace custom stop icon
by gtk-stop stock icon
* Makefile.am:
* stop.png: remove
svn path=/trunk/; revision=8591
2008-03-24 18:11:37 +00:00
Jens Granseuer
482223bfae
add a comment for translators (bug #514598 )
...
2008-02-05 Jens Granseuer <jensgr@gmx.net>
* data/appearance.glade: add a comment for translators (bug #514598 )
2008-02-05 Jens Granseuer <jensgr@gmx.net>
* gnome-keyboard-properties.glade: don't mark padding strings as
translatable (bug #514598 )
2008-02-05 Jens Granseuer <jensgr@gmx.net>
* gnome-network-preferences.glade: don't mark padding strings as
translatable (bug #514598 )
2008-02-05 Jens Granseuer <jensgr@gmx.net>
* drwright.c: add a comment for translators (bug #514598 )
svn path=/trunk/; revision=8447
2008-02-05 20:18:52 +00:00
Michael Terry
6b9550b491
use icon theme for app icons, bug #450777
...
svn path=/trunk/; revision=7784
2007-06-26 23:29:58 +00:00
Christian Persch
1eb8cc98ae
NULL-terminate the options array. fixed.
...
2007-06-08 Christian Persch <chpe@gnome.org>
* main.c: (main): NULL-terminate the options array.
* ChangeLog: fixed.
svn path=/trunk/; revision=7705
2007-06-08 11:56:47 +00:00
Christian Persch
a9fee19f43
Use GOption to parse the arguments. Bug #444399 .
...
2007-06-05 Christian Persch <chpe@gnome.org>
* typing-break/main.c: (main): Use GOption to parse the arguments. Bug
#444399 .
svn path=/trunk/; revision=7694
2007-06-05 19:47:16 +00:00
Ross Burton
9fac3c0c5a
Bump glib requirement to 2.13, for the ~second-accurate timers.
...
2007-06-05 Ross Burton <ross@openedhand.com>
* configure.in:
Bump glib requirement to 2.13, for the ~second-accurate timers.
2007-06-05 Ross Burton <ross@openedhand.com>
* drw-monitor.c:
* drw-break-window.c:
* drwright.c:
Use the second-accurate timers instead of the millisecond timers,
in an attempt to use less processor time (#443547 ).
svn path=/trunk/; revision=7692
2007-06-05 16:55:01 +00:00
Ross Burton
9843f45f54
Don't use libgnome in typing-break ( #443554 )
...
svn path=/trunk/; revision=7690
2007-06-05 15:44:40 +00:00
William Jon McCann
f600be796a
Use compositing to display the typing break window when available. Fixes
...
2007-02-02 William Jon McCann <mccann@jhu.edu>
* drw-break-window.c: (drw_break_window_class_init),
(drw_break_window_init), (drw_break_window_finalize),
(drw_break_window_dispose), (drw_break_window_new),
(postpone_sensitize_cb), (clock_timeout_cb), (postpone_cancel_cb),
(postpone_entry_key_press_event_cb), (postpone_clicked_cb):
* drw-break-window.h:
* drw-utils.c: (window_expose_event), (set_pixmap_background),
(drw_setup_background):
* drwright.c: (break_window_map_event_cb), (maybe_change_state),
(create_secondary_break_windows):
Use compositing to display the typing break window when
available. Fixes #363665 .
svn path=/trunk/; revision=7233
2007-02-03 00:42:23 +00:00
Christian Persch
3b3ae37bc0
Use specific string as app ID in gnome_program_init, not PACKAGE. Bug
...
2007-02-02 Christian Persch <chpe@svn.gnome.org>
* main.c: (main): Use specific string as app ID in
gnome_program_init, not PACKAGE. Bug #403708 .
svn path=/trunk/; revision=7229
2007-02-02 19:53:05 +00:00
Christian Persch
43d40d7a0a
Don't define directories in configure. Remove some obsolete defines, and
...
2007-02-02 Christian Persch <chpe@svn.gnome.org>
* Makefile.am:
* capplets/about-me/Makefile.am:
* capplets/about-me/gnome-about-me-password.c: (passdlg_init):
* capplets/about-me/gnome-about-me.c: (about_me_setup_dialog):
* capplets/accessibility/at-properties/Makefile.am:
* capplets/accessibility/keyboard/Makefile.am:
* capplets/accessibility/keyboard/accessibility-keyboard.c:
(setup_accessX_dialog):
* capplets/background/Makefile.am:
* capplets/background/gnome-wp-capplet.c: (gnome_wp_create_dialog):
* capplets/common/Makefile.am:
* capplets/common/capplet-util.c: (capplet_set_icon):
* capplets/default-applications/Makefile.am:
* capplets/display/Makefile.am:
* capplets/file-types/Makefile.am:
* capplets/file-types/file-types-capplet.c: (create_dialog):
* capplets/file-types/mime-category-edit-dialog.c:
(mime_category_edit_dialog_init):
* capplets/file-types/mime-edit-dialog.c: (mime_edit_dialog_init):
* capplets/file-types/service-edit-dialog.c:
(service_edit_dialog_init):
* capplets/font/Makefile.am:
* capplets/keybindings/Makefile.am:
* capplets/keybindings/gnome-keybinding-properties.c:
(create_dialog):
* capplets/keyboard/Makefile.am:
* capplets/keyboard/gnome-keyboard-properties-xkblt.c:
(xkb_layout_choose):
* capplets/keyboard/gnome-keyboard-properties-xkbmc.c:
(choose_model):
* capplets/keyboard/gnome-keyboard-properties.c: (create_dialog):
* capplets/localization/Makefile.am:
* capplets/localization/gnome-localization-properties.c:
(create_dialog):
* capplets/mime-type/Makefile.am:
* capplets/mouse/Makefile.am:
* capplets/mouse/gnome-mouse-properties.c: (create_dialog):
* capplets/network/Makefile.am:
* capplets/network/gnome-network-preferences.c:
(cb_http_details_button_clicked), (main):
* capplets/rollback/Makefile.am:
* capplets/sound/Makefile.am:
* capplets/sound/sound-properties-capplet.c: (create_dialog),
(device_test_button_clicked):
* capplets/theme-switcher/Makefile.am:
* capplets/ui-properties/Makefile.am:
* capplets/ui-properties/gnome-ui-properties.c: (create_dialog):
* capplets/url-properties/Makefile.am:
* capplets/windows/Makefile.am:
* capplets/wm-properties/wm-desktops/Makefile.am:
* configure.in:
* gnome-settings-daemon/Makefile.am:
* gnome-settings-daemon/actions/Makefile.am:
* gnome-settings-daemon/gnome-settings-xmodmap.c:
(gnome_settings_modmap_dialog_call):
* gnome-settings-daemon/gnome-settings-xrdb.c:
* gnome-settings-daemon/gsd-media-keys-window.c: (action_changed),
(gsd_media_keys_window_init):
* gnome-settings-daemon/xrdb/Makefile.am:
* typing-break/Makefile.am:
* vfs-methods/themus/Makefile.am: Don't define directories in
configure. Remove some obsolete defines, and use the standard
installation paths. Bug #395383 .
svn path=/trunk/; revision=7226
2007-02-02 18:12:40 +00:00
Christian Persch
c19d6d800d
Fix localedir defines. Bug #395383 .
...
2007-01-31 Christian Persch <chpe@svn.gnome.org>
* capplets/accessibility/at-properties/Makefile.am:
* capplets/accessibility/keyboard/Makefile.am:
* capplets/background/Makefile.am:
* capplets/common/Makefile.am:
* capplets/default-applications/Makefile.am:
* capplets/display/Makefile.am:
* capplets/font/Makefile.am:
* capplets/keybindings/Makefile.am:
* capplets/keyboard/Makefile.am:
* capplets/mouse/Makefile.am:
* capplets/network/Makefile.am:
* capplets/theme-switcher/Makefile.am:
* capplets/ui-properties/Makefile.am:
* capplets/windows/Makefile.am:
* configure.in:
* gnome-settings-daemon/Makefile.am:
* libbackground/Makefile.am:
* libwindow-settings/Makefile.am:
* typing-break/Makefile.am:
* vfs-methods/fontilus/Makefile.am:
* vfs-methods/themus/Makefile.am: Fix localedir defines. Bug #395383 .
svn path=/trunk/; revision=7219
2007-01-31 21:09:43 +00:00
Vincent Untz
0bbfe98c03
set default window icon and application name install icons use
...
2007-01-09 Vincent Untz <vuntz@gnome.org>
* main.c: (main): set default window icon and application name
* Makefile.am: install icons
* drwright.c: (popup_about_cb): use gtk_about_dialog_show()
* typing-monitor.png:
* typing-monitor.svn: new
Fix bug #348641 , icon by Andreas Nilsson <nisses.mail@home.se>, patch
by Luca Cavalli <luca.cavalli@gmail.com>
svn path=/trunk/; revision=7124
2007-01-09 19:13:39 +00:00
Christian Persch
64df6d6315
Update svn:ignore and remove .cvsignore files
...
svn path=/trunk/; revision=7040
2007-01-03 13:38:23 +00:00
Kjartan Maraas
422223acaf
Don't redefine GNOMELOCALEDIR. Don't use a const char * to allocate and
...
2006-11-15 Kjartan Maraas <kmaraas@gnome.org>
* Makefile.am: Don't redefine GNOMELOCALEDIR.
* drw-break-window.c: (postpone_entry_activate_cb):
Don't use a const char * to allocate and free strings.
2006-11-15 17:21:53 +00:00
Vincent Untz
9ab95c00c5
kill
...
2006-07-25 Vincent Untz <vuntz@gnome.org>
* eggtrayicon.[ch]: kill
2006-07-26 08:29:17 +00:00
Vincent Untz
9db2c1f933
Fixes #348640
...
2006-07-25 Vincent Untz <vuntz@gnome.org>
Fixes #348640
* drwrigth.c (popup_about_cb): use GtkAboutDialog, not GtkDialog.
2006-07-25 19:38:11 +00:00