[Pkg-wmaker-commits] [wmstickynotes] 28/81: Test fixing dockappiness.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Tue Aug 25 02:33:45 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 7df64e2178d82f11260779b56502b0558152efd7
Author: hnc <hnc at 7fc852e4-12a7-4f5b-bad7-374d67da4d19>
Date: Tue Feb 24 15:37:50 2009 +0000
Test fixing dockappiness.
git-svn-id: svn://svn.code.sf.net/p/wmstickynotes/code@14 7fc852e4-12a7-4f5b-bad7-374d67da4d19
---
wmstickynotes.c | 31 ++++++-----
wmstickynotes.xpm | 150 +++++++++++++++++++++++++++++-------------------------
2 files changed, 99 insertions(+), 82 deletions(-)
diff --git a/wmstickynotes.c b/wmstickynotes.c
index 3ff57e4..e2566b0 100644
--- a/wmstickynotes.c
+++ b/wmstickynotes.c
@@ -52,7 +52,7 @@ int main(int argc, char *argv[])
GtkWidget *window;
GtkWidget *box;
GdkColor color;
- XWMHints mywmhints;
+ XWMHints wmhints;
GtkWidget *main_button;
GdkPixmap *main_button_pixmap;
GdkBitmap *main_button_mask;
@@ -131,19 +131,20 @@ int main(int argc, char *argv[])
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);
+ //box = gtk_event_box_new();
+ //gtk_container_add(GTK_CONTAINER(window), box);
- gdk_color_parse ("#fafafa", &color);
- gtk_widget_modify_bg(box, GTK_STATE_NORMAL, &color);
+ //gdk_color_parse ("#fafafa", &color);
+ //gtk_widget_modify_bg(box, GTK_STATE_NORMAL, &color);
main_button_pixmap = gdk_pixmap_colormap_create_from_xpm_d(NULL, colormap, &main_button_mask, NULL, wmstickynotes_xpm);
main_button = gtk_image_new_from_pixmap(main_button_pixmap, main_button_mask);
main_button_box = gtk_event_box_new();
gtk_container_add(GTK_CONTAINER(main_button_box), main_button);
- gtk_container_add(GTK_CONTAINER(box), main_button_box);
+ //gtk_container_add(GTK_CONTAINER(box), main_button_box);
+ gtk_container_add(GTK_CONTAINER(window), main_button_box);
color_menu = gtk_menu_new();
@@ -169,14 +170,16 @@ int main(int argc, char *argv[])
gtk_widget_show_all(GTK_WIDGET(color_menu));
gtk_widget_show_all(window);
- mywmhints.initial_state = WithdrawnState;
- mywmhints.icon_window = GDK_WINDOW_XWINDOW(box->window);
- mywmhints.icon_x = 0;
- mywmhints.icon_y = 0;
- mywmhints.window_group = GDK_WINDOW_XWINDOW(window->window);
- mywmhints.flags = StateHint | IconWindowHint | IconPositionHint | WindowGroupHint;
+ wmhints.initial_state = WithdrawnState;
+ //wmhints.icon_window = GDK_WINDOW_XWINDOW(box->window);
+ wmhints.icon_window = GDK_WINDOW_XWINDOW(window->window);
+ wmhints.icon_x = 0;
+ wmhints.icon_y = 0;
+ //wmhints.window_group = GDK_WINDOW_XWINDOW(window->window);
+ wmhints.window_group = 0;
+ wmhints.flags = StateHint | IconWindowHint | IconPositionHint | WindowGroupHint;
- XSetWMHints(GDK_DISPLAY(), GDK_WINDOW_XWINDOW(window->window), &mywmhints);
+ //XSetWMHints(GDK_DISPLAY(), GDK_WINDOW_XWINDOW(window->window), &wmhints);
g_signal_connect(G_OBJECT(window), "destroy", G_CALLBACK(gtk_main_quit), NULL);
g_signal_connect(G_OBJECT(main_button_box), "button-press-event", G_CALLBACK(main_button_pressed), color_menu);
diff --git a/wmstickynotes.xpm b/wmstickynotes.xpm
index 4e64ddb..e179a6f 100644
--- a/wmstickynotes.xpm
+++ b/wmstickynotes.xpm
@@ -1,70 +1,84 @@
/* XPM */
static char * wmstickynotes_xpm[] = {
-"56 56 11 1",
-" c #000000",
-". c #D6EF00",
-"+ c #C1D800",
-"@ c #C2D900",
-"# c #C2D800",
-"$ c #C3DA00",
-"% c #BFD600",
-"& c #C3D900",
-"* c #464E00",
-"= c #4A5300",
-"- c #98AA00",
-" ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" ...................................................... ",
-" +@#+ at +$%&%$+@#+ at +$%&%$+@#+ at +$%&%$+@#+ at +$%&%$+@#+ at +$%&% ",
-" *===================================================== ",
-" ------------------------------------------------------ ",
-" =====================================================* ",
-" ------------------------------------------------------ ",
-" *===================================================== ",
-" ------------------------------------------------------ ",
-" =====================================================* ",
-" "};
+"48 48 33 1",
+" c None",
+". c #000000",
+"+ c #0B0D00",
+"@ c #0B0C00",
+"# c #F5FF00",
+"$ c #E5FF00",
+"% c #D6EF00",
+"& c #E6FF00",
+"* c #D7F000",
+"= c #0A0B00",
+"- c #DCF600",
+"; c #CEE600",
+"> c #CDE500",
+", c #CDE600",
+"' c #CFE700",
+") c #CCE400",
+"! c #CEE500",
+"~ c #CEE700",
+"{ c #CFE600",
+"] c #CBE400",
+"^ c #DBF400",
+"/ c #030400",
+"( c #4F5800",
+"_ c #4D5700",
+": c #4D5600",
+"< c #070800",
+"[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%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%$@",
+"@&********************************************&@",
+"=-;>;,')!,;;!,;~){]',;>;,~>>~,;!,,']{)~;;>;;,!^=",
+"/(_:::::::::::::::::::::::::::::::::::::::::::(/",
+"<[}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}[<",
+"|(____________________________________________(|",
+"1[}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}[2",
+"1(____________________________________________(2",
+"3[}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}[3",
+"./4444444444444444444444444444444444444444444//."};
--
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