[gimp] app: remove RC style from GimpImageWindow
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: remove RC style from GimpImageWindow
- Date: Tue, 22 May 2018 09:15:18 +0000 (UTC)
commit f677a5abe84b3221289d5fe2961bd718d8e802ce
Author: Timm Bäder <mail baedert org>
Date: Tue May 22 11:12:53 2018 +0200
app: remove RC style from GimpImageWindow
without replacement, we can always add CSS later if we don't like it
with whatever theme.
app/display/gimpimagewindow.c | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/app/display/gimpimagewindow.c b/app/display/gimpimagewindow.c
index 9e11f10..531e053 100644
--- a/app/display/gimpimagewindow.c
+++ b/app/display/gimpimagewindow.c
@@ -271,14 +271,6 @@ G_DEFINE_TYPE_WITH_CODE (GimpImageWindow, gimp_image_window, GIMP_TYPE_WINDOW,
#define parent_class gimp_image_window_parent_class
-static const gchar image_window_rc_style[] =
- "style \"fullscreen-menubar-style\"\n"
- "{\n"
- " GtkMenuBar::shadow-type = none\n"
- " GtkMenuBar::internal-padding = 0\n"
- "}\n"
- "widget \"*.gimp-menubar-fullscreen\" style \"fullscreen-menubar-style\"\n";
-
static void
gimp_image_window_class_init (GimpImageWindowClass *klass)
{
@@ -322,8 +314,6 @@ gimp_image_window_class_init (GimpImageWindowClass *klass)
G_PARAM_CONSTRUCT_ONLY));
g_type_class_add_private (klass, sizeof (GimpImageWindowPrivate));
-
- gtk_rc_parse_string (image_window_rc_style);
}
static void
@@ -698,10 +688,6 @@ gimp_image_window_window_state_event (GtkWidget *widget,
widget,
fullscreen ? "TRUE" : "FALSE");
- if (private->menubar)
- gtk_widget_set_name (private->menubar,
- fullscreen ? "gimp-menubar-fullscreen" : NULL);
-
gimp_image_window_suspend_keep_pos (window);
gimp_display_shell_appearance_update (shell);
gimp_image_window_resume_keep_pos (window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]