Enlightenment CVS committal
Author : fletch3k
Project : misc
Module : enotes
Dir : misc/enotes/src
Modified Files:
note.c note.h
Log Message:
Defaulting Scrollbars
===================================================================
RCS file: /cvsroot/enlightenment/misc/enotes/src/note.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -3 -r1.38 -r1.39
--- note.c 6 Oct 2004 17:12:34 -0000 1.38
+++ note.c 8 Oct 2004 20:44:40 -0000 1.39
@@ -339,6 +339,45 @@
}
void
+configure_scrollbars_default(Ewl_Widget * pane)
+{
+ ewl_theme_data_str_set(pane,
+ "/vscrollbar/button_increment/file", NULL);
+ ewl_theme_data_str_set(pane,
+ "/vscrollbar/button_decrement/file", NULL);
+ ewl_theme_data_str_set(pane, "/vscrollbar/vseeker/file", NULL);
+ ewl_theme_data_str_set(pane, "/vscrollbar/vseeker/button/file", NULL);
+ ewl_theme_data_str_set(pane,
+ "/hscrollbar/button_increment/file", NULL);
+ ewl_theme_data_str_set(pane,
+ "/hscrollbar/button_decrement/file", NULL);
+ ewl_theme_data_str_set(pane, "/hscrollbar/hseeker/file", NULL);
+ ewl_theme_data_str_set(pane, "/hscrollbar/hseeker/button/file", NULL);
+
+ ewl_theme_data_str_set(pane,
+ "/vscrollbar/button_increment/group",NULL);
+ ewl_theme_data_str_set(pane,
+ "/vscrollbar/button_decrement/group",NULL);
+
+ ewl_theme_data_str_set(pane, "/vscrollbar/vseeker/group",NULL);
+
+ ewl_theme_data_str_set(pane,
+ "/vscrollbar/vseeker/button/group",NULL);
+
+ ewl_theme_data_str_set(pane,
+ "/hscrollbar/button_increment/group",NULL);
+ ewl_theme_data_str_set(pane,
+ "/hscrollbar/button_decrement/group",NULL);
+
+ ewl_theme_data_str_set(pane, "/hscrollbar/hseeker/group",NULL);
+
+ ewl_theme_data_str_set(pane,
+ "/hscrollbar/hseeker/button/group",NULL);
+
+ return;
+}
+
+void
configure_scrollbars(Ewl_Widget * pane, char *edjefn)
{
ewl_theme_data_str_set(pane,
@@ -618,6 +657,8 @@
/* FIXME: What the fuck is happening when
* we enable this?: */
// configure_scrollbars(note->pane,edjefn);
+ }else{
+// configure_scrollbars_default(note->pane);
}
}
working = get_cycle_next_note(working);
===================================================================
RCS file: /cvsroot/enlightenment/misc/enotes/src/note.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- note.h 6 Oct 2004 17:12:34 -0000 1.17
+++ note.h 8 Oct 2004 20:44:40 -0000 1.18
@@ -102,6 +102,7 @@
void setup_note(Evas_List ** note, int x, int y, int width,
int height, char *content);
void configure_scrollbars(Ewl_Widget * pane, char *edjefn);
+void configure_scrollbars_default(Ewl_Widget *pane);
/* Menu Callbacks */
void cb_menu_rightclick(Note * p, Evas * e, Evas_Object * obj,
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs