summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ab5f33e)
raw | patch | inline | side by side (parent: ab5f33e)
author | joncruz <joncruz@users.sourceforge.net> | |
Sat, 17 Nov 2007 23:58:04 +0000 (23:58 +0000) | ||
committer | joncruz <joncruz@users.sourceforge.net> | |
Sat, 17 Nov 2007 23:58:04 +0000 (23:58 +0000) |
src/widgets/desktop-widget.cpp | patch | blob | history |
index cdfac93f1f6f6086f145b3c3e949ca612af39db3..79e6fd33cba777abe8f1fce55427e096582e06f3 100644 (file)
if (prefs_get_int_attribute (fullscreen ? "fullscreen.scrollbars" : "window.scrollbars", "state", 1) == 0) {
gtk_widget_hide_all (dtw->hscrollbar);
gtk_widget_hide_all (dtw->vscrollbar_box);
+ gtk_widget_hide_all( dtw->cms_adjust );
} else {
gtk_widget_show_all (dtw->hscrollbar);
gtk_widget_show_all (dtw->vscrollbar_box);
+ gtk_widget_show_all( dtw->cms_adjust );
}
if (prefs_get_int_attribute (fullscreen ? "fullscreen.rulers" : "window.rulers", "state", 1) == 0) {
if (GTK_WIDGET_VISIBLE (dtw->hscrollbar)) {
gtk_widget_hide_all (dtw->hscrollbar);
gtk_widget_hide_all (dtw->vscrollbar_box);
+ gtk_widget_hide_all( dtw->cms_adjust );
prefs_set_int_attribute (dtw->desktop->is_fullscreen() ? "fullscreen.scrollbars" : "window.scrollbars", "state", 0);
} else {
gtk_widget_show_all (dtw->hscrollbar);
gtk_widget_show_all (dtw->vscrollbar_box);
+ gtk_widget_show_all( dtw->cms_adjust );
prefs_set_int_attribute (dtw->desktop->is_fullscreen() ? "fullscreen.scrollbars" : "window.scrollbars", "state", 1);
}
}