[Pkg-wmaker-commits] [wmstickynotes] 56/81: debian/patches/fix_icon_size.patch: Set wmstickynotes window to 48x48 pixels.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Tue Aug 25 02:33:51 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmstickynotes.
commit 51fa35b281d732850bf912a925ad67eda21fca59
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Wed Jan 28 07:43:22 2015 -0600
debian/patches/fix_icon_size.patch: Set wmstickynotes window to 48x48 pixels.
---
debian/patches/fix_icon_size.patch | 22 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 23 insertions(+)
diff --git a/debian/patches/fix_icon_size.patch b/debian/patches/fix_icon_size.patch
new file mode 100644
index 0000000..c6cc08c
--- /dev/null
+++ b/debian/patches/fix_icon_size.patch
@@ -0,0 +1,22 @@
+Description: Fix icon size.
+ The wmstickynotes window fills a Window Maker icon entirely at 64x64
+ pixels. This results in a number of issues. In particular, the user
+ cannot click on the outside of the icon to move it or access the menu.
+ Also, the default GTK theme window background appears around the edges
+ instead of the Window Maker icon theme.
+ .
+ We fix this by setting the window to be 48x48 pixels.
+Author: Doug Torrance <dtorrance at monmouthcollege.edu>
+Last-Update: 2015-01-28
+
+--- a/wmstickynotes.c
++++ b/wmstickynotes.c
+@@ -141,7 +141,7 @@
+ colormap = gdk_colormap_new(gdk_visual_get_system(), TRUE);
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+- gtk_window_set_default_size(GTK_WINDOW(window), 64, 64);
++ gtk_window_set_default_size(GTK_WINDOW(window), 48, 48);
+
+ box = gtk_event_box_new();
+ gtk_container_add(GTK_CONTAINER (window), box);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..cbbdbd5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_icon_size.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmstickynotes.git
More information about the Pkg-wmaker-commits
mailing list