Commit Graph

1077 Commits

Author SHA1 Message Date
ea8f2c08de Protect against errors from XGetWindowProperty() 2016-08-09 01:44:44 +02:00
1d77603e02 Portability fix for Linux 2016-08-09 00:05:40 +02:00
e3e294bffb Also mention the username 2016-08-03 18:21:10 +02:00
ea60de8a29 Really parse the GECOS field 2016-08-03 18:16:16 +02:00
3d780b9d21 Translate one more string 2016-08-03 17:14:52 +02:00
c9a0c6c781 Update a couple translations 2016-06-04 20:19:08 +02:00
380c2ad706 Translate constant strings at run-time 2016-06-04 20:13:41 +02:00
3925694f1d Add a tooltip to the pager buttons 2016-03-16 03:55:01 +01:00
2e5daf2201 Avoid a compilation warning 2016-03-16 03:54:17 +01:00
5b99502b5e Improve the default name for virtual desktops 2016-03-16 03:53:49 +01:00
99e640b56e Show the actual name of the indicator in the tooltip 2016-03-16 02:33:55 +01:00
408f6316e2 Code cleanup 2016-03-16 02:31:47 +01:00
75f1b794ff Add support for FreeBSD (not fully tested) 2016-03-02 02:00:44 +01:00
6d90a5f5a0 Fix build where the applet is not supported 2016-03-02 01:40:21 +01:00
03b07477f8 Always initialize swap->timeout 2016-03-02 01:40:12 +01:00
0432fdeadc Update the copyright notice 2016-03-02 01:30:57 +01:00
489f50ca05 Fix build on FreeBSD 2016-03-02 01:30:57 +01:00
9dbba2c878 Code cleanup 2016-02-28 19:26:57 +01:00
62be983f17 Install the "leds" applet by default 2016-02-28 19:26:05 +01:00
17b044f41d Implement polling
This is inefficient but now the applet works.
2016-02-28 19:25:25 +01:00
d95830ca2d Keep track of the widgets in use 2016-02-28 18:40:17 +01:00
66e039ee6c Initial import of the "leds" panel applet 2016-02-28 18:40:17 +01:00
da836c38e6 Update the copyright notice 2016-02-28 16:24:02 +01:00
a287c07912 Avoid a couple warnings 2016-02-28 16:23:47 +01:00
ecbca38db7 Detect the number of CPUs on NetBSD 2016-02-22 00:03:05 +01:00
78a7088fd0 Manage orientation dynamically 2016-02-21 23:38:03 +01:00
c0b53a1a73 Prepare support for multiple CPUs 2016-02-21 23:31:21 +01:00
46ab297160 Invert values ourselves when there is no support in Gtk+ 3 2016-02-21 23:11:29 +01:00
5339f92921 Update the copyright notice 2016-02-21 21:48:58 +01:00
94c56a9fa4 Use GtkLevel widgets for swap and memory as well 2016-02-21 21:48:39 +01:00
b06fc2a378 Invert the CPU level when available 2016-02-21 21:37:33 +01:00
f124fb3420 Update the copyright notice 2016-02-21 21:34:07 +01:00
f6a67a53ea Use a level bar when available (Gtk+ >= 3.6) 2016-02-21 21:33:48 +01:00
251fe4976f Minor optimization 2016-02-19 01:59:15 +01:00
788e3787f4 Set the default orientation accordingly 2016-02-19 01:45:23 +01:00
9c2b19f813 Update the copyright notice 2016-01-12 03:29:04 +01:00
72c3318a6f Restore support for Gtk+ 2 2016-01-12 03:28:55 +01:00
cda3d1b70b Avoid compilation warnings with Gtk+ 3 2016-01-12 03:23:46 +01:00
aea6fe0ee5 Avoid some compilation warnings 2016-01-12 03:22:01 +01:00
33b796945a Return -1 upon errors 2016-01-12 03:21:36 +01:00
71b0fe594f Update the copyright notice 2016-01-12 03:21:23 +01:00
eba451859f Re-indent 2016-01-12 03:21:16 +01:00
b93b3e7d3c Update the copyright notice 2016-01-12 01:20:23 +01:00
ec3491d048 Provide a tooltip with the complete GECOS information 2016-01-12 01:20:23 +01:00
7b646104e0 Add support for NetBSD 7 2015-12-26 13:12:03 +01:00
1f8a1e191e Display the full name instead (if available) 2015-12-11 00:53:26 +01:00
153909b557 Adapt to the new API for the Error class 2015-11-22 23:49:50 +01:00
336c0913e8 Simplify build with Gtk+ 3 2015-10-29 01:39:13 +01:00
18f2aeb195 Use a dedicated section for commands
This change breaks backward-compatibility, but the data is not lost. In
a vast majority of cases it should only be a minor annoyance.
2015-10-28 21:58:08 +01:00
e7f25b2155 Code cleanup 2015-10-28 21:45:54 +01:00
8b6e7d6532 Also consider children terminated by a signal 2015-10-28 21:44:44 +01:00
acb229a6c8 Let the terminal emulation program be configured 2015-10-28 21:43:59 +01:00
38a446a4eb Use a constant for the terminal emulation program 2015-10-28 21:05:12 +01:00
f07f598ff8 Free the underlying GPid resource upon deletion 2015-10-28 19:50:30 +01:00
6c64ab3006 Code cleanup 2015-10-28 19:47:13 +01:00
5899007cf1 Fix the mnemonic for the "About" menu entry 2015-10-27 00:43:11 +01:00
1b775fe26f Clarify build with Gtk+ 3 2015-10-25 23:33:17 +01:00
a7e42917b1 Clarify build with Gtk+ 3 2015-10-25 21:54:40 +01:00
39876b419c Simplify compatibility with Gtk+ 3 2015-10-25 21:54:40 +01:00
38582ac2d1 Add a mnemonic to the "About" menu entry 2015-10-25 02:07:13 +01:00
c000e89ebb Avoid some more warnings with Gtk+ 3
The remaining warnings are full of !@#$.
2015-10-24 02:16:49 +02:00
ba92dbeedd Avoid warnings with Gtk+ 3 2015-10-24 01:36:21 +02:00
8cbbc783d4 Avoid warnings with Gtk+ >= 3.10 2015-10-24 01:28:38 +02:00
b0073eb559 Avoid warnings with Gtk+ >= 3.10 2015-10-24 01:24:23 +02:00
7c2de23b3b Fix the size of the applet with Gtk+ 3
Really it is broken with Gtk+ 2 in the first place (this time).
2015-10-24 01:13:32 +02:00
7b3a7bc523 Remove event filters when refreshing 2015-10-23 21:04:39 +02:00
8ad7ad60a6 Remove event filters when destroyed 2015-10-23 21:04:07 +02:00
d2082ee43d Remove event filters when refreshing 2015-10-23 21:03:22 +02:00
99379d1637 Remove event filters when destroyed 2015-10-23 21:02:38 +02:00
2a00b33da0 Check for more errors upon widget destruction 2015-10-23 20:41:50 +02:00
50f3ea4be0 Code cleanup 2015-10-23 19:35:05 +02:00
63901be78d Clarify build instructions for Gtk+ 3 2015-10-23 19:32:59 +02:00
43ab2c42b2 Cache the icon size 2015-10-23 19:32:06 +02:00
751cda8393 Cache the icon size 2015-10-23 19:31:38 +02:00
a33bb3e29b Cache the icon size 2015-10-23 19:29:49 +02:00
78f403e256 Allow affecting more than one window at a time 2015-10-23 19:25:43 +02:00
209b02af91 Align tests with the actual code 2015-10-23 19:24:14 +02:00
1b5d356964 Determine the embedded behavior at run-time 2015-10-23 19:18:42 +02:00
d7da80eda4 Reduce the margin around the panels
With 2 pixels instead of 4, this makes it look more elegant. It also
spares some space.
2015-10-23 19:16:30 +02:00
6da3a5841b Sort the menu entries in the right order 2015-10-18 19:44:58 +02:00
67a3879e58 Remove outdated comment 2015-10-04 01:10:11 +02:00
1e09de2e4c Add a configuration value to re-order tasks 2015-10-01 22:24:00 +02:00
8f1ce0080b Add a configuration parameter for labelling 2015-10-01 22:24:00 +02:00
af947b48b2 Harmonize the "tasks" data structure in embedded mode 2015-10-01 22:24:00 +02:00
80fcd61ed9 Update the copyright notice 2015-10-01 22:24:00 +02:00
a5bda368db Report errors from setlocale(3) 2015-10-01 22:24:00 +02:00
01b09b39ab Avoid potential use after free 2015-10-01 22:24:00 +02:00
12ab8fbf2f Fix invalid use of memset(3) 2015-09-24 03:50:24 +02:00
e047d4b289 Add missing include 2015-09-24 03:46:51 +02:00
58fca0a84a Update a couple copyright notices 2015-09-24 03:45:08 +02:00
b2593ce325 Code cleanup 2015-09-24 03:44:52 +02:00
4edcc95178 Code cleanup 2015-09-24 03:34:33 +02:00
08163d9c99 Fix a memory leak upon errors 2015-09-24 02:04:31 +02:00
ff9fda6a5c Fix a memory leak on NetBSD 2015-09-24 01:45:53 +02:00
17f1262230 General rework for applets
This includes:
- error reporting
- code cleanup (naming constants...)
- removing useless idle/timeout events
- display applets only when relevent (GPS, GSM, USB...)
2015-09-24 00:54:21 +02:00
cbfbdaf7e5 More consistent error handling 2015-09-23 19:33:03 +02:00
d64d601666 Code cleanup 2015-09-23 02:49:52 +02:00
6db0ec94d0 Add a menu entry for the preferences
It really starts wifibrowser(1), which therefore needs to be
improved.
2015-09-23 02:49:11 +02:00
65fa7302bb Remove unused variable 2015-09-23 02:47:54 +02:00
d2fc6d554c Avoid a couple compilation warnings 2015-09-14 23:03:34 -04:00
ae68e75e86 Fix error checking for setlocale() 2015-09-14 23:02:01 -04:00
e748292d00 Code cleanup 2015-09-14 21:25:31 -04:00
97a9e1f405 Let panel(1) depend on libPanel$(SOEXT) 2015-09-14 21:23:36 -04:00
70dd36585e Do not enforce RELRO when LDFLAGS is set 2015-09-04 19:24:21 +02:00
5f2723ab3e Do not build unsupported code 2015-09-04 19:24:21 +02:00
0e3c7ec612 Add a checkbox to show the interfaces disabled 2015-09-04 19:24:21 +02:00
0dceb00ea9 Implement the "showdown" setting
This allows hiding the interfaces disabled. It is enabled by default on
embedded platforms.
2015-09-04 19:24:21 +02:00
a9fbf02f2d Pack the preferences in a vertical box 2015-09-04 19:11:48 +02:00
e3a675caa9 Add a preferences dialog for loopback interfaces 2015-09-04 19:11:48 +02:00
bda66685dd Code cleanup 2015-09-04 19:11:48 +02:00
eca6a3d6b6 List interfaces with an unknown state as idle 2015-09-04 18:38:01 +02:00
c45fa3fbc7 Code cleanup 2015-09-04 18:37:04 +02:00
03449beaeb Mention the issue with make jobs 2015-09-03 00:56:45 +02:00
b64b5757ab Code cleanup 2015-09-03 00:48:47 +02:00
aed5ff81ce Hide the interfaces disabled in embedded mode 2015-09-03 00:35:36 +02:00
63ca81f5f4 Mark network interfaces as offline when disconnected 2015-09-03 00:33:04 +02:00
b555283969 Fix wifibrowser(1) 2015-09-01 02:50:49 +02:00
65ecefd9ec Add a comment 2015-09-01 02:41:39 +02:00
6ba6f3652b Force applets to link with libPanel 2015-09-01 02:40:22 +02:00
4272047751 Comment about the "keyboard" applet 2015-08-23 18:24:56 +02:00
80521fa569 Remove unused static definition 2015-08-11 01:36:27 +02:00
84d1990a8d Remove unused variable 2015-07-31 22:07:11 +02:00
13359272b7 Remove unused variable 2015-07-31 22:06:53 +02:00
462fab0b7a Use string_rtrim() from libSystem 2015-07-31 22:06:27 +02:00
47df230b43 Update the copyright notices 2015-07-31 22:06:01 +02:00
ac5cac38a5 Refactoring of the window management 2015-07-31 22:06:01 +02:00
df020b344d Warn when unable to load the preferences 2015-07-31 19:16:56 +02:00
46f5214b46 Update the copyright notice 2015-07-31 19:15:28 +02:00
4779a09ad2 Add a method to save the configuration 2015-07-31 19:12:25 +02:00
dbb5c9ca88 Better document Gtk+ 3 support 2015-07-12 22:29:58 +02:00
04acbb6e0d Build with -fstack-protector and executables as PIE 2015-07-12 22:29:58 +02:00
1bd29ef779 Do not mention resize grips with Gtk+ 3.14 and later 2015-07-12 22:28:46 +02:00
3ce2c4ec75 Compile with -pedantic and -fstack-protector by default 2015-06-28 19:31:18 +02:00
af4b673fa5 Use names as comments when a generic one is known
This applies only if there is no comment in the first place.
2015-06-18 02:25:55 -04:00
9a8333191a Default to generic names (at least for now) 2015-06-18 02:16:15 -04:00
79b750786a Code cleanup 2015-06-18 01:18:04 -04:00
a1ab276edc Update some copyright notices 2015-06-16 03:08:57 -04:00
d91f53de74 Code cleanup 2015-06-16 03:08:45 -04:00
d652450ec6 Improve XDG support some more
This all ought to be in library code though.
2015-06-16 02:26:52 -04:00
94d0b4c861 Report errors when setlocale(3) fails 2015-06-13 00:41:01 -04:00
7802edbd57 Use PROGNAME 2015-06-13 00:39:07 -04:00
a0c3d56bfc Code cleanup 2015-06-13 00:37:08 -04:00
b1df512bd4 Use mnemonics in the menu applet 2015-06-13 00:02:56 -04:00
51b854b0f3 Fix build on !NetBSD 2015-04-20 22:57:18 +02:00
94ee1b8cc8 Open URL desktop entries with htmlapp(1) by default 2015-04-19 18:58:21 +02:00
62fffb57d4 Update the copyright notice 2015-04-19 17:01:22 +02:00
65cac87133 Also implement "Hidden" in desktop entry files 2015-04-19 17:00:42 +02:00
Manuel Bouyer
d4d6a73872 Support AM335x (beaglebone) 2015-04-18 19:18:56 +02:00
9c15c6cfbc Choose an icon for the "brightness" panel applet 2015-04-15 19:07:56 +02:00
e44e8f4a1d Initial import of the "brightness" applet 2015-04-15 00:25:37 +02:00
80f0024924 Add a couple more .gitignore files 2015-04-04 15:53:50 +02:00
31c25b47b6 No longer store Makefiles in the source tree 2015-04-04 15:48:33 +02:00
7d7ac76001 Move the "player" applet to the Integration project 2015-04-04 15:25:57 +02:00
30d291711a Re-generated the Makefiles 2015-02-28 00:32:41 +01:00
0965e1412b Updated the copyright line 2015-02-14 20:13:16 +01:00
6b8a5bb4cf Report signal level correctly (as tested with iwn(4) on NetBSD) 2015-02-14 20:12:13 +01:00
d471e8b486 .cvsignore files are no longer necessary 2014-12-27 17:52:47 +01:00
3cc74e85a6 Re-generated the Makefiles 2014-12-02 01:37:48 +01:00
0f10485203 Renamed the "main" applet to "menu" (helps fix "make distcheck") 2014-12-02 01:37:13 +01:00
eafcfd124a Added partial support for building with OBJDIR 2014-11-04 00:39:23 +01:00
d47bcb4753 Portability fix for SunOS 2014-10-25 01:44:12 +02:00
01651dab00 Portability fix for SunOS 2014-10-25 01:39:56 +02:00
f8cbf53ad4 Use gtk_combo_box_text_append_text() as gtk_combo_box_text_append() is really not in Gtk+ 2.24 2014-10-25 01:29:38 +02:00
9bb740c319 Use gtk_combo_box_text_new() with Gtk+ 2.24 already 2014-10-25 01:25:14 +02:00
4524eae0f2 Really fix build with Gtk+ 3 2014-10-25 01:09:00 +02:00
000b61d3b1 Fixed build with Gtk+ 3 2014-10-25 01:06:44 +02:00
0f9243aa2f Build fix for SunOS 2014-10-25 00:43:39 +02:00
d26e0be396 Build fix on NetBSD (not observed myself) 2014-10-25 00:43:08 +02:00
775074a75e Code cleanup 2014-10-25 00:42:55 +02:00
e907f3834a Build fix for SunOS 2014-10-25 00:42:38 +02:00
dd5bffa7cf Code cleanup 2014-10-23 19:34:21 +02:00
593c468fcd Do not attempt to translate stock labels 2014-10-23 19:33:00 +02:00
e1e8f01ffa Updated some copyright lines 2014-10-23 19:31:29 +02:00
4cb3b056de Also translate the "pager" applet 2014-10-23 19:31:04 +02:00
05898312ce Removed debugging messages committed accidentally 2014-10-23 19:30:16 +02:00
cde30f0e4e Code cleanup 2014-10-23 19:30:06 +02:00
ab95bffc4f Attempt to de-register "screen-changed" events before destroying applets 2014-10-23 19:29:19 +02:00
58d3f34902 Updated the translations 2014-10-22 23:04:46 +02:00
bccd96dff6 Let the panel windows really be re-organized at run-time
It may crash apparently though :(
2014-10-22 22:53:27 +02:00
7705b61aa7 Actually enable/disable panels as configured 2014-10-22 22:06:35 +02:00
ca5881af1c Added a couple comments 2014-10-22 22:06:22 +02:00
c535249b6f Code cleanup 2014-10-17 21:43:41 +02:00
0a9e8abdbe Make sure to spawn the corresponding surfer(1) binary 2014-10-13 21:15:50 +02:00
d3f30d296e More accurate parsing of categories from desktop files 2014-10-13 21:15:11 +02:00
d12b37b51b Updated the TODO list 2014-10-12 20:23:36 +02:00
2d6d7b3c63 Code cleanup 2014-10-12 20:03:09 +02:00
624b3dca2f Fixed panel notifications on connection events 2014-10-12 19:16:11 +02:00
eb253f0477 Added debugging information 2014-10-12 19:15:57 +02:00
8e2280360e Use the icon from the panel applet for notifications 2014-10-12 19:05:23 +02:00
449d6cf374 Make sure to spawn the corresponding panel-message(1) binary 2014-10-12 19:01:57 +02:00
e487e4daa0 Removed the network list from the applet 2014-10-12 18:53:27 +02:00
51fb3518da Autosave by default 2014-10-12 18:48:57 +02:00
48728ce2e2 Code cleanup 2014-10-12 18:34:02 +02:00
3f7a9d7192 Moved the "keyboard" applet to the DeforaOS Integration project
With this change, DeforaOS Panel no longer depends on DeforaOS Keyboard.
2014-09-22 21:25:40 +02:00
9eb3b12f70 Imported the "user" panel applet 2014-09-09 01:22:17 +02:00
314d092be8 Added an embedded mode to panel-notify(1) 2014-09-09 01:07:20 +02:00
96fc3098a1 Fallback for XDG_DATA_DIRS as per the basedir specification 2014-09-08 03:04:15 +02:00
c2f1fe4401 Prefixed the section names about panels with "panel::" in the configuration file 2014-08-02 15:59:11 +02:00
66140ee146 No longer center always what's not meant to be 2014-07-07 01:06:40 +02:00
571afb9a86 What's done is done 2014-07-07 01:03:01 +02:00