Groups > Browsers > Opera Browser for Linux > Patch for opera/ini/dialog.ini to have "add bookmark dialog" always expanded




Patch for opera/ini/dialog.ini to have "add bookmark
dialog" always expanded

Patch for opera/ini/dialog.ini to have "add bookmark dialog" always expanded
19 Jan 2008 13:52:49 GMT
Failed to find a satisfactory ready made soution, I found something
which came close but not quite ...

  http://my.opera.com/Tamil/blog/always-expand-details


... problem was that some of the fields were obfuscated after
commenting out "Advanced_group" lines in "Add Bookmark
Dialog"
section, as shown there.

So after taking a screen capture of the diglog box and reading the
"Add ..." section 2-3 times, noticed a pattern which seemed like
element position coordinates.  After that it was just a matter of
trial & error to arrive at the right coordinates, which produced the
following patch (works at least for Opera/9.25 (X11; FreeBSD 6 i386;
U; en)) ...

 
http://www103.pair.com/parv/comp/unix/freebsd/ports/patch-bookmark-dialog-expand


----begin----
--- opera/ini/dialog.ini.orig	2008-01-19 02:37:04.000000000 -1000
+++ opera/ini/dialog.ini	2008-01-19 03:28:08.000000000 -1000
@@ -729,19 +729,17 @@
 Group0, 67000, , 10, 10, 330, 323, Center, End
 Label1, 25103, Name_label, 0, 0, 90, 23, Fixed
 Edit2, 0, Name_edit, 100, 0, 270, 23, Size right
-Label13, 70496, Parent_label, 0, 30, 90, 23, Move down
-Dropdown, , Parent_dropdown, 100, 30, 270, 23, Size right Move down
-Button, 70497, New_folder_button,100,60,130,23,Move down = New folder
-Button,,, 240, 60, 130, 23, Move right= Set visibility,
"Advanced_group", 0, 70744 | Set visibility,
"Advanced_group", 1, 70743
-Group, 0, Advanced_group , 0, 90, 370, 180, Size right, End
-Label5, 10944, URL_label, 0, 0, 90, 23, Fixed
-Edit6, 0, URL_edit, 100, 0, 270, 23, Size right
-Label3, 10943, Nick_label, 0, 30, 90, 23, Fixed
-Edit4, 0, Nick_edit, 100, 30, 270, 23, Size right
-Label7, 10945, Description_label, 0, 60, 90, 23, Fixed
-MultilineEdit8, 0, Description_edit, 100, 60, 270, 53, Size
-Checkbox15, 54023, ShowOnPersonalbar_check, 100, 120, 270, 23, Move down
-Checkbox16, 70498, ViewInPanel_check, 100, 150, 270, 23, Move down, End
+Label13, 70496, Parent_label, 0, 25, 90, 23, Move down
+Dropdown, , Parent_dropdown, 100, 25, 270, 23, Size right Move down
+Button, 70497, New_folder_button,100,55,130,23,Move down = New folder
+Label5, 10944, URL_label, 0,  95, 90, 23, Fixed
+Edit6, 0, URL_edit, 100,  95, 270, 23, Size right
+Label3, 10943, Nick_label, 0, 125, 90, 23, Fixed
+Edit4, 0, Nick_edit, 100, 125, 270, 23, Size right
+Label7, 10945, Description_label, 0, 155, 90, 23, Fixed
+MultilineEdit8, 0, Description_edit, 100, 155, 270, 53, Size
+Checkbox15, 54023, ShowOnPersonalbar_check, 100, 215, 270, 23, Move down
+Checkbox16, 70498, ViewInPanel_check, 100, 235, 270, 23, Move down
 
 [Bookmark Properties Dialog]
 Title = 22115
----end----


No doubt that the elements could be aligned evenly, but I am tired &
works for me.


  - parv

-- 
Post Reply
about | contact