From f1b56402b69be4b7f0507c7154765d7ff8260ef2 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Tue, 27 Mar 2012 22:15:47 +0200 Subject: Make the resources depend on the actual UI files Otherwise we won't update them if the UI files change. To do this we need to move them from data/ui/ to src/, which is not great. Things would be easier with non-recursive Makefiles. --- data/Makefile.am | 2 +- data/ui/Makefile.am | 13 - data/ui/epiphany-application-menu.ui | 54 -- data/ui/epiphany-bookmark-editor-ui.xml | 58 -- data/ui/epiphany-history-window-ui.xml | 47 -- data/ui/epiphany-ui.xml | 102 --- data/ui/epiphany.css | 49 -- data/ui/epiphany.ui | 667 --------------- data/ui/prefs-dialog.ui | 1352 ------------------------------- 9 files changed, 1 insertion(+), 2343 deletions(-) delete mode 100644 data/ui/Makefile.am delete mode 100644 data/ui/epiphany-application-menu.ui delete mode 100644 data/ui/epiphany-bookmark-editor-ui.xml delete mode 100644 data/ui/epiphany-history-window-ui.xml delete mode 100644 data/ui/epiphany-ui.xml delete mode 100644 data/ui/epiphany.css delete mode 100644 data/ui/epiphany.ui delete mode 100644 data/ui/prefs-dialog.ui (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am index f8f4e92e8..2672fc333 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = pages ui +SUBDIRS = pages @INTLTOOL_SERVER_RULE@ @INTLTOOL_DESKTOP_RULE@ diff --git a/data/ui/Makefile.am b/data/ui/Makefile.am deleted file mode 100644 index 20dfcfdb8..000000000 --- a/data/ui/Makefile.am +++ /dev/null @@ -1,13 +0,0 @@ -UI_FILES = \ - epiphany-bookmark-editor-ui.xml \ - epiphany-ui.xml \ - epiphany-history-window-ui.xml \ - epiphany.ui \ - epiphany-application-menu.ui \ - prefs-dialog.ui \ - epiphany.css \ - $(NULL) - -EXTRA_DIST = \ - $(UI_FILES) \ - $(NULL) diff --git a/data/ui/epiphany-application-menu.ui b/data/ui/epiphany-application-menu.ui deleted file mode 100644 index 3bddf1b4f..000000000 --- a/data/ui/epiphany-application-menu.ui +++ /dev/null @@ -1,54 +0,0 @@ - - - -
- - _New Window - app.new - <Primary>n - -
-
- - _Bookmarks - app.bookmarks - <Primary>b - - - _History - app.history - <Primary>h - -
-
- - Preferences - app.preferences - <Primary>e - - - Personal Data - app.pdm - <Primary>m - -
-
- - _Help - app.help - F1 - - - _About - app.about - -
-
- - _Quit - app.quit - <Primary>q - -
-
-
diff --git a/data/ui/epiphany-bookmark-editor-ui.xml b/data/ui/epiphany-bookmark-editor-ui.xml deleted file mode 100644 index 2998d4792..000000000 --- a/data/ui/epiphany-bookmark-editor-ui.xml +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/data/ui/epiphany-history-window-ui.xml b/data/ui/epiphany-history-window-ui.xml deleted file mode 100644 index 5592ec2ef..000000000 --- a/data/ui/epiphany-history-window-ui.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/data/ui/epiphany-ui.xml b/data/ui/epiphany-ui.xml deleted file mode 100644 index c4789036f..000000000 --- a/data/ui/epiphany-ui.xml +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/data/ui/epiphany.css b/data/ui/epiphany.css deleted file mode 100644 index b3b9757e3..000000000 --- a/data/ui/epiphany.css +++ /dev/null @@ -1,49 +0,0 @@ -#ephy-status-frame { - border-style: solid; - border-width: 1px; - padding: 4px; -} - -#ephy-tab-close-button { - -GtkButton-default-border: 0; - -GtkButton-default-outside-border: 0; - -GtkButton-inner-border: 0; - -GtkWidget-focus-padding: 0; - -GtkWidget-focus-line-width: 0; - margin: 0; - padding: 0; -} - -.primary-toolbar.toolbar { - padding-left: 0; - padding-right: 0; -} - -#ephy-progress-bar { - -GtkProgressBar-xspacing: 0; - -GtkProgressBar-yspacing: 3px; - -GtkProgressBar-min-horizontal-bar-height: 3px; - padding: 0; -} - -.progressbar#ephy-progress-bar { - border-style: none; - background-color: @theme_selected_bg_color; - background-image: none; - border-radius: 0; - -adwaita-progressbar-pattern: none; -} - -GtkProgressBar#ephy-progress-bar.trough { - padding: 0; - border-image: none; - border-style: none; - border-width: 0; - background-image: none; - background-color: transparent; - border-radius: 0; -} - -#ephy-overlay { - background-color: rgba(0,0,0,0); -} diff --git a/data/ui/epiphany.ui b/data/ui/epiphany.ui deleted file mode 100644 index 57e440ada..000000000 --- a/data/ui/epiphany.ui +++ /dev/null @@ -1,667 +0,0 @@ - - - - - False - 5 - Cookie properties - True - True - dialog - pdm_dialog - - - True - False - vertical - 2 - - - False - end - - - gtk-close - True - True - True - False - True - - - False - True - 0 - - - - - False - True - end - 0 - - - - - True - False - 6 - 6 - 12 - - - True - False - start - Content: - - - - - - 0 - 0 - 1 - 1 - - - - - True - False - start - Path: - - - - - - 0 - 1 - 1 - 1 - - - - - True - False - start - Send for: - - - - - - 0 - 2 - 1 - 1 - - - - - True - False - start - Expires: - - - - - - 0 - 3 - 1 - 1 - - - - - True - False - start - label - True - end - - - 1 - 0 - 1 - 1 - - - - - True - False - start - label - True - end - - - 1 - 1 - 1 - 1 - - - - - True - False - start - label - True - end - - - 1 - 2 - 1 - 1 - - - - - True - False - start - label - True - end - - - 1 - 3 - 1 - 1 - - - - - - - - - - - - - - False - True - 1 - - - - - - close_cookie_properties_button - - - - False - 5 - Text Encoding - epiphany-encoding-chooser - 300 - 420 - dialog - - - True - False - vertical - 2 - - - True - False - end - - - gtk-close - True - True - True - False - False - True - - - False - False - 0 - - - - - gtk-help - True - True - True - False - False - True - - - False - False - 1 - - - - - False - True - end - 0 - - - - - True - False - 5 - 18 - - - True - False - - - <b>_Automatic</b> - True - True - False - False - True - True - - - False - False - 0 - - - - - True - False - 12 - - - True - False - Use the encoding specified by the document - True - - - - - False - True - 1 - - - - - False - False - 0 - - - - - True - False - 6 - - - <b>_Use a different encoding:</b> - True - True - False - False - True - True - automatic_button - - - False - False - 0 - - - - - True - False - 12 - - - True - True - never - in - - - - - - - - True - True - 1 - - - - - True - True - 1 - - - - - False - True - 1 - - - - - - okbutton2 - encoding_help_button - - - - 400 - 300 - False - 5 - Personal Data - epiphany-cookie-manager - True - normal - - - True - False - vertical - 2 - - - True - False - end - - - gtk-help - True - True - True - False - False - True - - - False - False - 0 - - - - - gtk-clear - True - True - True - False - False - True - - - False - False - 1 - - - - - gtk-close - True - True - True - False - False - True - - - False - False - 2 - - - - - False - True - end - 0 - - - - - True - True - 5 - - - True - False - 12 - 6 - - - True - True - in - - - True - True - - - - - - - - True - True - 0 - - - - - True - False - 6 - start - - - gtk-remove - True - False - True - True - False - False - True - - - False - False - 0 - - - - - gtk-properties - True - False - True - True - False - False - True - - - False - False - 1 - - - - - False - False - 1 - - - - - - - True - False - Cookies - - - False - - - - - True - False - 12 - 6 - - - True - False - 6 - - - True - True - in - - - True - True - - - - - - - - True - True - 0 - - - - - True - False - 6 - start - - - gtk-remove - True - False - True - True - False - False - True - - - False - False - 0 - - - - - False - True - 1 - - - - - True - True - 0 - - - - - _Show passwords - True - True - False - False - True - True - - - False - False - 1 - - - - - 1 - - - - - True - False - Passwords - - - 1 - False - - - - - True - True - 1 - - - - - - pdm_help_button - removeallbutton - closebutton1 - - - diff --git a/data/ui/prefs-dialog.ui b/data/ui/prefs-dialog.ui deleted file mode 100644 index 471ef77b5..000000000 --- a/data/ui/prefs-dialog.ui +++ /dev/null @@ -1,1352 +0,0 @@ - - - - - False - 5 - Add Language - epiphany-preferences-add-language - True - dialog - - - True - False - vertical - 2 - - - True - False - end - - - gtk-cancel - True - True - True - False - False - True - - - False - False - 0 - - - - - gtk-add - True - True - True - False - False - True - - - False - False - 1 - - - - - False - True - end - 0 - - - - - True - False - 5 - 6 - - - True - False - 0 - Choose a l_anguage: - True - languages_treeview - - - True - True - 0 - - - - - True - True - never - in - - - True - True - False - - - - - - - - True - True - 1 - - - - - False - True - 1 - - - - - - cancelbutton1 - add_button - - - - 1 - 100 - 7 - 1 - 10 - - - 1000000 - 1 - 10 - - - False - 5 - Preferences - epiphany-preferences - center - True - gtk-preferences - normal - - - True - False - vertical - 2 - - - True - False - end - - - gtk-help - True - True - True - False - False - True - - - False - False - 0 - - - - - gtk-close - True - True - True - False - False - True - - - False - False - 1 - - - - - False - True - end - 0 - - - - - True - True - 5 - - - True - False - 12 - - - True - False - 18 - - - True - False - 6 - - - True - False - 0 - Downloads - - - - - - False - True - 0 - - - - - True - False - 12 - - - True - False - 6 - - - True - False - 12 - - - True - False - _Download folder: - True - - - False - False - 0 - - - - - - - - False - True - 0 - - - - - A_utomatically open downloaded files - True - True - False - False - True - True - - - False - False - 1 - - - - - - - False - True - 1 - - - - - False - True - 0 - - - - - False - True - 1 - - - - - - - True - False - General - - - False - - - - - True - False - 12 - 18 - - - True - False - - - True - False - 0 - Fonts - - - - - - False - False - 0 - - - - - True - False - 12 - - - True - False - 6 - - - _Use system fonts - True - True - False - False - True - True - - - False - True - 1 - - - - - True - False - 12 - - - True - False - 3 - 2 - 12 - 6 - - - True - True - True - False - True - - - 1 - 2 - GTK_FILL - - - - - True - True - True - False - Serif 12 - True - - - 1 - 2 - 1 - 2 - GTK_FILL - - - - - True - True - True - False - Monospace 12 - True - - - 1 - 2 - 2 - 3 - GTK_FILL - - - - - True - False - 0 - Sans serif font: - - - GTK_FILL - GTK_FILL - - - - - True - False - 0 - Serif font: - - - 1 - 2 - GTK_FILL - GTK_FILL - - - - - True - False - 0 - Monospace font: - - - 2 - 3 - GTK_FILL - GTK_FILL - - - - - - - False - True - 2 - - - - - - - False - True - 1 - - - - - False - True - 0 - - - - - True - False - - - True - False - 0 - Style - - - - - - False - False - 0 - - - - - True - False - 12 - - - True - False - 24 - - - Use custom _stylesheet - True - True - False - False - True - True - - - False - False - 0 - - - - - True - False - end - - - _Edit Stylesheet… - True - True - True - True - False - True - - - False - False - 0 - - - - - True - True - 1 - - - - - - - False - True - 1 - - - - - False - True - 1 - - - - - 1 - - - - - True - False - Fonts & Style - - - 1 - False - - - - - True - False - 12 - 18 - - - True - False - 6 - - - True - False - 0 - Web Content - - - - - - False - False - 0 - - - - - True - False - 12 - - - True - False - 6 - - - Allow popup _windows - True - True - False - False - True - True - - - False - False - 0 - - - - - Enable _plugins - True - True - False - False - True - True - - - False - False - 1 - - - - - Enable Java_Script - True - True - False - False - True - True - - - False - False - 2 - - - - - - - False - True - 1 - - - - - False - True - 0 - - - - - True - False - 6 - - - True - False - 0 - Cookies - - - - - - False - False - 0 - - - - - True - False - 12 - - - True - False - 6 - - - _Always accept - True - True - False - False - True - True - - - False - False - 0 - - - - - Only _from sites you visit - True - True - False - False - True - True - always - - - False - False - 1 - - - - - True - False - 22 - - - True - False - 0 - <small>For example, not from advertisers on these sites</small> - True - - - - - False - False - 2 - - - - - _Never accept - True - True - False - False - True - True - always - - - False - False - 3 - - - - - - - False - True - 1 - - - - - False - True - 1 - - - - - True - False - 6 - - - True - False - 0 - Passwords - - - - - - False - False - 0 - - - - - True - False - 12 - - - _Remember passwords - True - True - False - False - True - True - - - - - False - True - 1 - - - - - False - True - 2 - - - - - True - False - 6 - - - True - False - 0 - Temporary Files - - - - - - False - False - 0 - - - - - True - False - 12 - - - True - False - 12 - - - True - False - _Disk space: - True - disk_cache_spinbutton - - - False - False - 0 - - - - - True - False - 6 - - - True - True - adjustment2 - 1 - - - False - True - 0 - - - - - True - False - 0 - MB - center - - - False - False - 1 - - - - - False - True - 1 - - - - - True - False - - - Cl_ear - True - True - False - False - True - - - False - False - 0 - - - - - False - False - 2 - - - - - - - False - False - 1 - - - - - False - True - 3 - - - - - 2 - - - - - True - False - Privacy - - - 2 - False - - - - - True - False - 12 - 18 - - - True - False - 6 - - - True - False - 0 - Encodings - - - - - - False - False - 0 - - - - - True - False - 12 - - - True - False - 2 - 12 - 6 - - - True - False - 0 - De_fault: - True - center - default_encoding_combo - - - GTK_FILL - - - - - - True - False - - - 1 - 2 - GTK_FILL - - - - - - - False - True - 1 - - - - - False - True - 0 - - - - - True - False - 6 - - - True - False - 0 - Languages - - - - - - False - False - 0 - - - - - True - False - True - 12 - - - True - False - True - 6 - 6 - - - True - True - True - True - never - in - - - True - True - False - - - - - - - - 0 - 0 - 1 - 1 - - - - - True - False - 6 - start - - - gtk-add - True - True - True - True - False - True - - - False - False - 0 - - - - - gtk-remove - True - True - True - True - False - True - - - False - False - 1 - - - - - gtk-go-up - True - True - True - True - False - True - - - False - False - 2 - - - - - gtk-go-down - True - True - True - True - False - True - - - False - False - 3 - - - - - 1 - 0 - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - True - True - 1 - - - - - False - True - 1 - - - - - True - False - 6 - - - True - False - 0 - Spell checking - True - - - - - - False - False - 0 - - - - - True - False - 12 - - - _Enable spell checking - True - True - False - False - True - 0 - True - - - - - False - True - 1 - - - - - False - False - 2 - - - - - 3 - - - - - True - False - Language - - - 3 - False - - - - - True - True - 1 - - - - - - helpbutton1 - closebutton1 - - - -- cgit v1.2.3