summaryrefslogtreecommitdiff
path: root/battstat/battstat_applet.c
AgeCommit message (Collapse)AuthorFilesLines
2020-12-17battstat: whitespace is missingrbuj1-2/+2
2020-12-06remove dead function mate_panel_applet_set_background_widgetmbkma1-5/+1
2020-09-03battstat: improve code-styleraveit651-847/+869
- tab to spaces - fix indents - add a space before brackets
2020-08-11Remove -Wtype-limits warningsrbuj1-3/+3
2020-08-07battstat: Rewrite preference dialog from scratchrbuj1-16/+29
To manage the settings stored by GSettings. The preference dialog is a subclass of GtkDialog, and the ui file is a template. There is more info available in the "GTK+ Overview" chapter of "GTK+ 3 Reference Manual": "Building applications - A preference dialog" https://developer.gnome.org/gtk3/stable/ch01s04.html
2020-07-29battstat: Fix memory leakrbuj1-0/+1
2020-07-29battstat: Reduce the dynamically allocated memoryrbuj1-14/+11
2020-01-10Update copyright to 2020raveit651-1/+1
2019-06-16Update FSF addressLaurent Napias1-1/+1
2019-04-14Fix use-after-free clang warningrbuj1-2/+2
battstat_applet.c:755:3: warning: Use of memory after it is freed static_global_teardown (battstat); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stickynotes.c:674:24: warning: Use of memory after it is freed stickynotes->notes = g_list_remove(stickynotes->notes, note); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2019-03-20Make translatable documenters in about dialogrbuj1-0/+7
2019-03-20Make translatable copyright info in about dialogrbuj1-6/+3
2019-03-20Ensure proper translation of the about dialog titlerbuj1-0/+1
Note that GTK+ sets a default title of _("About %s") on the dialog window (where %s is replaced by the name of the application, but in order to ensure proper translation of the title, applications should set the title property explicitly when constructing a GtkAboutDialog https://developer.gnome.org/gtk3/stable/GtkAboutDialog.html
2018-05-12battstat: Load theme icons instead of pixmapsVictor Kareh1-525/+63
Also remove the outdated option for expanded view.
2018-05-12Convert applet icons from pixbuf to surfacesVictor Kareh1-0/+1
This improves support for HiDPI by loading properly scaled surfaces for applets.
2018-02-09avoid deprecated GtkStockPablo Barciela1-5/+5
2018-02-04require GTK+ 3.22 and GLib 2.50monsta1-4/+0
2018-01-09update copyright year to 2018monsta1-1/+1
2017-10-05update copyright year in other appletsmonsta1-1/+1
2017-08-05battstat: don't use deprecated gtk_show_uriraveit651-0/+4
2016-11-22move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-94/+3
and require mate-panel >= 1.17 WARNING: use GTK+3 build of libmateweather for this build. that lib is not migrated to GTK+3 only as we will possibly use libgweather instead of it.
2016-08-31GTK+-3 battstat: port GtkTable to GtkGridraveit651-0/+80
2016-07-31battstat: drop MateAbout usage and update copyrightraveit651-6/+7
2014-12-30battstat applet: remove HAL supportMonsta1-10/+5
2014-11-26Gtk3: don't use deprecated gtk_widget_size_requestinfirit1-0/+4
Taken from gnome-panel commit: c05c6b07ec493d174062a06caf185d324fd6e0c4 From: Alberts Muktupāvels <[email protected]>
2014-11-26Gtk3: Silence GtkVbox and GtkHbox deprecation warningsinfirit1-0/+5
2014-11-26batstat: Use cairo for drawing also in Gtk2.infirit1-209/+0
2014-06-02Cleanup GTK_CHECK_VERSION and unify where possibleinfirit1-4/+0
gdk_x11_window_foreign_new_for_display | since 2.24 gdk_window_get_width | since 2.24 gdk_window_get_height | since 2.24 gdk_x11_display_get_xdisplay | since 2.2 gdk_window_get_display | since 2.24 gdk_x11_window_foreign_new_for_display | since 2.24 GDK_WINDOW_XID | since always GDK_SCREEN_XDISPLAY | since always
2014-06-02Replace GtkObject with GObject also for gtk2infirit1-22/+0
2014-05-03Use MateAboutDialog from libmate-desktopStefano Karapetsas1-1/+3
2014-02-08Fix help uri for appletsinfirit1-2/+2
2014-02-05Remove all calls gtk_dialog_set_has_separatorinfirit1-7/+0
Also remove the has_separator from the ui files.
2014-01-20battstat: Add GTK3 supportStefano Karapetsas1-0/+183
Code taken from: https://git.gnome.org/browse/gnome-applets/commit/battstat?id=274f17fe92b98b5a0bdd31de734240b4cc6227e9 https://git.gnome.org/browse/gnome-applets/commit/battstat?id=137c00e2de6098b0ecef75ec208d58de138d7a82 https://git.gnome.org/browse/gnome-applets/commit/battstat?id=13522dcb2cb272b11214728c69c9ec179de78e2d
2014-01-04battstat applet: save panel space using an empty label instead of -:-- when ↵r2rien1-2/+2
fully charged or unknown
2013-08-02Use yelp-tools instead of mate-doc-utilsinfirit1-2/+2
2013-02-28Use libnotify instead of libmatenotifyStefano Karapetsas1-5/+5
2012-11-24battstat: migrate to gsettingsStefano Karapetsas1-17/+15
2012-10-09Fixed fsf addresses. Closes #18.Steve Zesch1-1/+1
2012-04-24upower support added to battstat. Preparing for 1.2.2 release.mate-applets-1.2.2Steve Zesch1-3/+5
2011-11-14initialPerberos1-0/+1714